com.helpshift.support.Support.Delegate |
A delegate which defines the session callbacks which are available in the SDK.
Usage : App developers should implement the available functions in a class and then set the Helpshift delegate to that class via the setDelegate API.Support.setDelegate(appHelpshiftDelegate);where appHelpshiftDelegate is the class which implements the HelpshiftDelegate functions. These are the following delegate methods available : sessionBegan() - Delegate method which is called when Helpshift session begins. sessionEnded() -Delegate method which is called when user starts a new conversation newConversationStarted(String newConversationMessage) - Delegate method which is called when user starts a new conversation userRepliedToConversation(String newMessage) - Delegate method which is called when user sends a new message userCompletedCustomerSatisfactionSurvey - Delegate method which is called when user completes the customer satisfaction survey displayAttachmentFile(File attachmentFile) - Optional delegate method that is called when the user taps an downloaded attachment file to view it.