public interface TwilioIPMessagingClient
Modifier and Type | Method and Description |
---|---|
Channels |
getChannels()
List of channels available to the TwilioIPMessagingClient.
|
java.lang.String |
getIdentity()
Gets the unique identity identifier of this user in the Twilio IP Messaging system.
|
IPMessagingClientListener |
getListener()
Method to retrieve listener for this TwilioIPMessagingClient.
|
void |
setIncomingIntent(android.app.PendingIntent inIntent)
Sets a
PendingIntent that will be sent when an incoming channel invite is received. |
void |
setListener(IPMessagingClientListener listener)
Method to set listener for this TwilioIPMessagingClient.
|
void |
shutdown()
Cleanly shuts down the messaging subsystem when you are done with it.
|
void |
updateToken(java.lang.String accessToken)
Method to update the authentication token for this client.
|
java.lang.String getIdentity()
IPMessagingClientListener getListener()
void setListener(IPMessagingClientListener listener)
listener
- the listener for this TwilioIPMessagingClient.void updateToken(java.lang.String accessToken)
accessToken
- an AccessToken for this Client.Channels getChannels()
void setIncomingIntent(android.app.PendingIntent inIntent)
PendingIntent
that will be sent when an incoming channel invite is received.void shutdown()