Twilio IP Messaging Android SDK

Skip navigation links
A C D E G H I J L M O R S T U V 

A

addByIdentity(String, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Members
Add specified username to this channel without inviting.
advanceLastConsumedMessageIndex(long) - Method in interface com.twilio.ipmessaging.Messages
Increase user last consumed message index for the channel.

C

Channel - Interface in com.twilio.ipmessaging
Container for channel object.
Channel.ChannelStatus - Enum in com.twilio.ipmessaging
The Channel.ChannelStatus enum represents the various states of the member with respect to this channel
Channel.ChannelType - Enum in com.twilio.ipmessaging
Enumeration indicating the channel's visibility.
CHANNEL_ATTRIBUTES - Static variable in interface com.twilio.ipmessaging.Constants
Key to hold the value of any custom attributes to attach to the Channel
CHANNEL_FRIENDLY_NAME - Static variable in interface com.twilio.ipmessaging.Constants
Key to hold the non-unique display name of the Channel.
CHANNEL_TYPE - Static variable in interface com.twilio.ipmessaging.Constants
Key to hold the value of ChannelType"
CHANNEL_UNIQUE_NAME - Static variable in interface com.twilio.ipmessaging.Constants
Key to hold the value of unique identity name of the Channel.
ChannelListener - Interface in com.twilio.ipmessaging
Interface to report channel operations such as member join/leave and add/delete/update messages.
Channels - Interface in com.twilio.ipmessaging
 
com.twilio.ipmessaging - package com.twilio.ipmessaging
 
Constants - Interface in com.twilio.ipmessaging
 
Constants.CreateChannelListener - Interface in com.twilio.ipmessaging
Interface for the listener object to pass to while creatting Channel
Constants.InitListener - Interface in com.twilio.ipmessaging
Interface for the listener object to pass to TwilioIPMessagingSDK#initialize(Context, InitListener).
Constants.StatusListener - Interface in com.twilio.ipmessaging
Interface for a generic listener object.
createChannel(String, Channel.ChannelType, Constants.CreateChannelListener) - Method in interface com.twilio.ipmessaging.Channels
Method to create channel with attributes.
createChannel(Map<String, Object>, Constants.CreateChannelListener) - Method in interface com.twilio.ipmessaging.Channels
Method to create channel with options.
createIPMessagingClientWithAccessManager(TwilioAccessManager, IPMessagingClientListener) - Static method in class com.twilio.ipmessaging.TwilioIPMessagingSDK
Creates a new IP Messaging client instance with a token manager.
createIPMessagingClientWithToken(String, IPMessagingClientListener) - Static method in class com.twilio.ipmessaging.TwilioIPMessagingSDK
Creates a new IP Messaging client with a token.
createMessage(String) - Method in interface com.twilio.ipmessaging.Messages
Method to createMessage.

D

declineInvitation(Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Channel
Declines an invite on this channel.
destroy(Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Channel
Destroys the current channel.

E

EXTRA_ACTION - Static variable in interface com.twilio.ipmessaging.Constants
Key into an Intent's extras data that indicates an action is requested from the user.
EXTRA_ACTION_INVITE - Static variable in interface com.twilio.ipmessaging.Constants
Key into an Intent's extras data that indicates an action type.
EXTRA_CHANNEL - Static variable in interface com.twilio.ipmessaging.Constants
Key into an Intent's extras data that points to a Channel object.

G

getAttributes() - Method in interface com.twilio.ipmessaging.Channel
Custom attributes associated with the Channel.
getAttributes() - Method in interface com.twilio.ipmessaging.UserInfo
Custom attributes associated with the user info.
getAuthor() - Method in interface com.twilio.ipmessaging.Message
The global identity of the author of this message.
getChannel(String) - Method in interface com.twilio.ipmessaging.Channels
Retrieves a channel with the specified id.
getChannelByUniqueName(String) - Method in interface com.twilio.ipmessaging.Channels
Retrieves a channel with the unique name.
getChannels() - Method in interface com.twilio.ipmessaging.Channels
Request a list of all channels loaded so far.
getChannels() - Method in interface com.twilio.ipmessaging.TwilioIPMessagingClient
List of channels available to the TwilioIPMessagingClient.
getChannelSid() - Method in interface com.twilio.ipmessaging.Message
Returns the Channel Sid of the channel this message belongs to.
getFriendlyName() - Method in interface com.twilio.ipmessaging.Channel
Method that returns the friendlyName of the channel.
getFriendlyName() - Method in interface com.twilio.ipmessaging.UserInfo
Method that returns the friendlyName of the user info.
getIdentity() - Method in interface com.twilio.ipmessaging.Member
Deprecated.
getIdentity() - Method in interface com.twilio.ipmessaging.TwilioIPMessagingClient
Deprecated.
getIdentity() - Method in interface com.twilio.ipmessaging.UserInfo
Returns the identity of the user.
getLastConsumedMessageIndex() - Method in interface com.twilio.ipmessaging.Member
Return members last consumed message index for this channel
getLastConsumedMessageIndex() - Method in interface com.twilio.ipmessaging.Messages
Return user last consumed message index for the channel
getLastConsumptionTimestamp() - Method in interface com.twilio.ipmessaging.Member
Return members last consumed message timestamp for this channel
getListener() - Method in interface com.twilio.ipmessaging.Channel
Method to retrieve ChannelListener for this Channel.
getListener() - Method in interface com.twilio.ipmessaging.TwilioIPMessagingClient
Method to retrieve listener for this TwilioIPMessagingClient.
getMembers() - Method in interface com.twilio.ipmessaging.Channel
Method to get the channel members.
getMembers() - Method in interface com.twilio.ipmessaging.Members
Obtain an array of members of this channel.
getMessageBody() - Method in interface com.twilio.ipmessaging.Message
The body for this message.
getMessageIndex() - Method in interface com.twilio.ipmessaging.Message
Returns the index number for this message.
getMessages() - Method in interface com.twilio.ipmessaging.Channel
Method to get messages.
getMessages() - Method in interface com.twilio.ipmessaging.Messages
Returns messages received so far from backend, messages are loaded asynchronously so this may not fully represent all history available for channel.
getMyUserInfo() - Method in interface com.twilio.ipmessaging.TwilioIPMessagingClient
Get user info object for current user
getSid() - Method in interface com.twilio.ipmessaging.Channel
Method that returns the unique identifier for this channel.
getSid() - Method in interface com.twilio.ipmessaging.Member
Returns unique identifier of a member on a channel.
getSid() - Method in interface com.twilio.ipmessaging.Message
Returns the identifier for this message.
getStatus() - Method in interface com.twilio.ipmessaging.Channel
Returns the current user's status on this channel.
getTimeStamp() - Method in interface com.twilio.ipmessaging.Message
The last updated timestamp for this message.
getType() - Method in interface com.twilio.ipmessaging.Channel
Method to get the channel type.
getUniqueName() - Method in interface com.twilio.ipmessaging.Channel
Method that returns the unique Name of the channel.
getUserInfo() - Method in interface com.twilio.ipmessaging.Member
Return user info for current member
getVersion() - Static method in class com.twilio.ipmessaging.TwilioIPMessagingSDK
Returns the version of the TwilioIPMessagingSDK.

H

handleNotification(Map<String, String>) - Method in interface com.twilio.ipmessaging.TwilioIPMessagingClient
Queue the incoming notification with the messaging library for processing.

I

initializeSDK(Context, Constants.InitListener) - Static method in class com.twilio.ipmessaging.TwilioIPMessagingSDK
Initialize the TwilioIPMessagingSDK.
inviteByIdentity(String, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Members
Invite specified username to this channel.
IPMessagingClientListener - Interface in com.twilio.ipmessaging
This interface defines IPMessagingClient callback methods.
isInitialized() - Static method in class com.twilio.ipmessaging.TwilioIPMessagingSDK
Determines if the Twilio IP Messaging SDK has been initialized or not.

J

join(Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Channel
Joins the current user to the channel.

L

leave(Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Channel
Leaves the current channel.
loadChannelsWithListener(Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Channels
Request loading of all channels from server to be delivered via callbacks.

M

Member - Interface in com.twilio.ipmessaging
Representation of an IP Messaging Member object.
Members - Interface in com.twilio.ipmessaging
 
Message - Interface in com.twilio.ipmessaging
Representation of an IP Messaging Message object.
Messages - Interface in com.twilio.ipmessaging
Representation of an IP Messaging channel's message list.

O

onAttributesChange(Map<String, String>) - Method in interface com.twilio.ipmessaging.ChannelListener
Called when channel attributes have changed.
onAttributesChange(String) - Method in interface com.twilio.ipmessaging.IPMessagingClientListener
Called when an attribute has changed.
onChannelAdd(Channel) - Method in interface com.twilio.ipmessaging.IPMessagingClientListener
Called when the current user adds a channel to their list of channels.
onChannelChange(Channel) - Method in interface com.twilio.ipmessaging.IPMessagingClientListener
Called when one the channel of the current user is changed.
onChannelDelete(Channel) - Method in interface com.twilio.ipmessaging.IPMessagingClientListener
Called when one of the channel of the current user is deleted.
onChannelHistoryLoaded(Channel) - Method in interface com.twilio.ipmessaging.ChannelListener
Called when Message synchronization for this Channel completes.
onChannelHistoryLoaded(Channel) - Method in interface com.twilio.ipmessaging.IPMessagingClientListener
Called when Message synchronization for this Channel completes.
onCreated(Channel) - Method in interface com.twilio.ipmessaging.Constants.CreateChannelListener
Callback to report when Channel is successfully created.
onError() - Method in interface com.twilio.ipmessaging.Constants.CreateChannelListener
Method to report back create channel failure.
onError(Exception) - Method in interface com.twilio.ipmessaging.Constants.InitListener
Called if there is an error initializing the TwilioRTD Client SDK.
onError() - Method in interface com.twilio.ipmessaging.Constants.StatusListener
Callback to report error status of an asynchronous call to the back end.
onError(int, String) - Method in interface com.twilio.ipmessaging.IPMessagingClientListener
Called when an error condition occurs.
onInitialized() - Method in interface com.twilio.ipmessaging.Constants.InitListener
Callback to report when TwilioRTD Client SDK has been successfully initialized.
onMemberChange(Member) - Method in interface com.twilio.ipmessaging.ChannelListener
Called when a Member is changed in the channel the current user is subscribed to.
onMemberDelete(Member) - Method in interface com.twilio.ipmessaging.ChannelListener
Called when a Member is deleted from the channel the current user is subscribed to.
onMemberJoin(Member) - Method in interface com.twilio.ipmessaging.ChannelListener
Called when a Member is added to the channel the current user is subscribed to.
onMessageAdd(Message) - Method in interface com.twilio.ipmessaging.ChannelListener
Called when a Message is added to the channel the current user is subscribed to.
onMessageChange(Message) - Method in interface com.twilio.ipmessaging.ChannelListener
Called when a Message is changed for the channel the current user is subscribed to.
onMessageDelete(Message) - Method in interface com.twilio.ipmessaging.ChannelListener
Called when a Message is deleted from the channel the current user is subscribed to.
onSuccess() - Method in interface com.twilio.ipmessaging.Constants.StatusListener
Callback to report success status of an asynchronous call to the back end.
onTypingEnded(Member) - Method in interface com.twilio.ipmessaging.ChannelListener
Called when an Member stops typing on a Channel.
onTypingStarted(Member) - Method in interface com.twilio.ipmessaging.ChannelListener
Called when an Member starts typing on a Channel.
onUserInfoChange(UserInfo) - Method in interface com.twilio.ipmessaging.IPMessagingClientListener
Called when user info is updated for currently loaded users

R

registerGCMToken(String, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.TwilioIPMessagingClient
Register GCM token for push notification updates.
removeMember(Member, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Members
Remove specified username from this channel.
removeMessage(Message, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Messages
Removes a message to the channel.

S

sendMessage(Message, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Messages
Sends a message to the channel.
setAllMessagesConsumed() - Method in interface com.twilio.ipmessaging.Messages
Set last consumed message index to last message index in channel.
setAttributes(Map<String, String>, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Channel
Updates the attribute data for this channel.
setAttributes(Map<String, String>, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.UserInfo
Updates the attribute data for this user info.
setFriendlyName(String, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Channel
Updates the friendly name for this channel.
setFriendlyName(String, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.UserInfo
Updates the friendly name for this user info.
setIncomingIntent(PendingIntent) - Method in interface com.twilio.ipmessaging.TwilioIPMessagingClient
Sets a PendingIntent that will be sent when an incoming channel invite is received.
setLastConsumedMessageIndex(long) - Method in interface com.twilio.ipmessaging.Messages
Set user last consumed message index for the channel
setListener(ChannelListener) - Method in interface com.twilio.ipmessaging.Channel
Method to set ChannelListener for this Channel.
setListener(IPMessagingClientListener) - Method in interface com.twilio.ipmessaging.TwilioIPMessagingClient
Method to set listener for this TwilioIPMessagingClient.
setLogLevel(int) - Static method in class com.twilio.ipmessaging.TwilioIPMessagingSDK
Sets the logging level for messages logged by the Twilio IP Messaging SDK.
setUniqueName(String, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Channel
Updates the unique name for this channel.
shutdown() - Method in interface com.twilio.ipmessaging.TwilioIPMessagingClient
Cleanly shuts down the messaging subsystem when you are done with it.
shutdown() - Static method in class com.twilio.ipmessaging.TwilioIPMessagingSDK
Shuts down the Twilio IP Messaging SDK.

T

TwilioIPMessagingClient - Interface in com.twilio.ipmessaging
 
TwilioIPMessagingSDK - Class in com.twilio.ipmessaging
Represents an IP Messaging client connection to Twilio.
TwilioIPMessagingSDK() - Constructor for class com.twilio.ipmessaging.TwilioIPMessagingSDK
 
typing() - Method in interface com.twilio.ipmessaging.Channel
Called when Member starts typing on this channel.

U

unregisterGCMToken(String, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.TwilioIPMessagingClient
Unregister from push notification updates.
updateMessageBody(String, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.Message
Updates the body for a message.
updateToken(String, Constants.StatusListener) - Method in interface com.twilio.ipmessaging.TwilioIPMessagingClient
Method to update the authentication token for this client.
UserInfo - Interface in com.twilio.ipmessaging
User info object

V

valueOf(String) - Static method in enum com.twilio.ipmessaging.Channel.ChannelStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.ipmessaging.Channel.ChannelType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.twilio.ipmessaging.Channel.ChannelStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.ipmessaging.Channel.ChannelType
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E G H I J L M O R S T U V 
Skip navigation links