public class VerloopChatClass
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static VerloopChatClass |
getInstance()
Get the instance for VerloopChatClass.
|
int |
getNotificationCount()
Get the notification count from Preferences.
|
void |
initVerloopChat(android.content.Context context,
java.lang.String clientSubDomain,
java.lang.String clientNotificationId,
java.lang.String userName,
java.lang.String userEmail,
java.lang.String userMobileNumber)
Expose a public method which will accept the required data from the calling app
and initialises Verloop Chat library.
|
void |
openChatActivity()
Expose a public method which opens up a WebView Activity to load the Chat url.
|
void |
resetNotificationCount()
Reset the notification count to zero and save to Preferences.
|
void |
setNotificationOpenActivity(android.app.Activity mNotificationOpenActivity) |
public static VerloopChatClass getInstance()
public void setNotificationOpenActivity(android.app.Activity mNotificationOpenActivity)
public void initVerloopChat(android.content.Context context,
java.lang.String clientSubDomain,
java.lang.String clientNotificationId,
java.lang.String userName,
java.lang.String userEmail,
java.lang.String userMobileNumber)
clientSubDomain - clientNotificationId - userName - userEmail - userMobileNumber - public void openChatActivity()
public int getNotificationCount()
public void resetNotificationCount()