public static interface

Helpshift.HelpshiftDelegate

com.helpshift.Helpshift.HelpshiftDelegate

Class Overview

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.

Summary

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

Public Methods

public abstract void didReceiveNotification (int newMessagesCount)

Delegate method which is called when there are new replies from agent side

public abstract void displayAttachmentFile (File attachmentFile)

Optional delegate method that is called when the user taps an downloaded attachment file to view it.

public abstract void helpshiftSessionBegan ()

Delegate method which is called when Helpshift session begins.

public abstract void helpshiftSessionEnded ()

Delegate method which is called when Helpshift session ends.

public abstract void newConversationStarted (String newConversationMessage)

Delegate method which is called when user starts a new conversation

public abstract void userCompletedCustomerSatisfactionSurvey (int rating, String feedback)

Delegate method which is called when user completes the customer satisfaction survey

public abstract void userRepliedToConversation (String newMessage)

Delegate method which is called when user sends a new message