| com.helpshift.Helpshift.HelpshiftDelegate |
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.Helpshift.setDelegate(appHelpshiftDelegate);where appHelpshiftDelegate is the class which implements the HelpshiftDelegate functions.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
didReceiveNotification(int newMessagesCount)
Delegate method which is called when there are new replies from agent side
| ||||||||||
| abstract void |
displayAttachmentFile(File attachmentFile)
Optional delegate method that is called when the user taps an downloaded attachment file to view it.
| ||||||||||
| abstract void |
helpshiftSessionBegan()
Delegate method which is called when Helpshift session begins.
| ||||||||||
| abstract void |
helpshiftSessionEnded()
Delegate method which is called when Helpshift session ends.
| ||||||||||
| abstract void |
newConversationStarted(String newConversationMessage)
Delegate method which is called when user starts a new conversation
| ||||||||||
| abstract void |
userCompletedCustomerSatisfactionSurvey(int rating, String feedback)
Delegate method which is called when user completes the customer
satisfaction survey
| ||||||||||
| abstract void |
userRepliedToConversation(String newMessage)
Delegate method which is called when user sends a new message
| ||||||||||
Delegate method which is called when there are new replies from agent side
Optional delegate method that is called when the user taps an downloaded attachment file to view it.
Delegate method which is called when Helpshift session begins.
Delegate method which is called when Helpshift session ends.
Delegate method which is called when user starts a new conversation
Delegate method which is called when user completes the customer satisfaction survey
Delegate method which is called when user sends a new message