Skip navigation links
A B C D E F G H I J L M N O P R S T U V W 

A

addByIdentity(String, StatusListener) - Method in class com.twilio.chat.Members
Add specified username to this channel without inviting.
addListener(ChannelListener) - Method in class com.twilio.chat.Channel
Add a new ChannelListener for this Channel.
advanceLastConsumedMessageIndex(long) - Method in class com.twilio.chat.Messages
Increase user last consumed message index for the channel.

B

build(CallbackListener<Channel>) - Method in class com.twilio.chat.Channels.ChannelBuilder
Method to create channel with options.
Builder() - Constructor for class com.twilio.chat.ChatClient.Properties.Builder
 

C

CallbackListener<T> - Class in com.twilio.chat
Interface for a generic listener object.
CallbackListener() - Constructor for class com.twilio.chat.CallbackListener
 
Channel - Class in com.twilio.chat
Container for channel object.
Channel.ChannelStatus - Enum in com.twilio.chat
This enum represents the various states of the member with respect to this channel.
Channel.ChannelType - Enum in com.twilio.chat
Enumeration indicating the channel's visibility.
Channel.SynchronizationStatus - Enum in com.twilio.chat
Enumeration indicating synchronization status for channel.
channelBuilder() - Method in class com.twilio.chat.Channels
 
ChannelDescriptor - Class in com.twilio.chat
Contains channel information.
ChannelListener - Interface in com.twilio.chat
Interface to report channel operations such as member join/leave and messages add/delete/update.
Channels - Class in com.twilio.chat
Channels object provides access to channels collection, allows to create new channels.
Channels.ChannelBuilder - Class in com.twilio.chat
 
ChatClient - Class in com.twilio.chat
 
ChatClient.ConnectionState - Enum in com.twilio.chat
Enum representing underlying twilsock connection state.
ChatClient.Properties - Class in com.twilio.chat
Properties for client initialization configuration
ChatClient.Properties.Builder - Class in com.twilio.chat
Builder class for client properties
ChatClient.SynchronizationStatus - Enum in com.twilio.chat
Enum representing client initialization status.
ChatClient.SynchronizationStrategy - Enum in com.twilio.chat
Enum representing client synchronization strategies.
ChatClientListener - Interface in com.twilio.chat
This interface defines ChatClient callback methods.
com.twilio.chat - package com.twilio.chat
 
create(Context, String, ChatClient.Properties, CallbackListener<ChatClient>) - Static method in class com.twilio.chat.ChatClient
Creates a new Chat client instance with a token manager and client properties.
createChannel(String, Channel.ChannelType, CallbackListener<Channel>) - Method in class com.twilio.chat.Channels
Create a channel with friendly name and type.
createMessage(String) - Method in class com.twilio.chat.Messages
Method to create a message.
createProperties() - Method in class com.twilio.chat.ChatClient.Properties.Builder
 
CREATOR - Static variable in class com.twilio.chat.Channel
 

D

declineInvitation(StatusListener) - Method in class com.twilio.chat.Channel
Declines an invite on this channel.
describeContents() - Method in class com.twilio.chat.Channel
 
destroy(StatusListener) - Method in class com.twilio.chat.Channel
Destroys the current channel.
dispose() - Method in class com.twilio.chat.Channel
 
dispose() - Method in class com.twilio.chat.Channels
 
dispose() - Method in class com.twilio.chat.ChatClient
 
dispose() - Method in class com.twilio.chat.Member
 
dispose() - Method in class com.twilio.chat.Members
 
dispose() - Method in class com.twilio.chat.Message
 
dispose() - Method in class com.twilio.chat.Messages
 
dispose() - Method in class com.twilio.chat.Paginator
 
dispose() - Method in class com.twilio.chat.UserInfo
 

E

ErrorInfo - Class in com.twilio.chat
Representation of a Chat Error object.
ErrorInfo(int, String) - Constructor for class com.twilio.chat.ErrorInfo
 

F

fromInt(int) - Static method in enum com.twilio.chat.Channel.ChannelStatus
 
fromInt(int) - Static method in enum com.twilio.chat.Channel.ChannelType
 
fromInt(int) - Static method in enum com.twilio.chat.Channel.SynchronizationStatus
 
fromInt(int) - Static method in enum com.twilio.chat.ChatClient.ConnectionState
 
fromInt(int) - Static method in enum com.twilio.chat.ChatClient.SynchronizationStatus
 
fromInt(int) - Static method in enum com.twilio.chat.UserInfo.UpdateReason
 
fromString(String) - Static method in enum com.twilio.chat.NotificationPayload.Type
 

G

getAttributes() - Method in class com.twilio.chat.Channel
Custom attributes associated with the Channel.
getAttributes() - Method in class com.twilio.chat.ChannelDescriptor
 
getAttributes() - Method in class com.twilio.chat.Message
Retrieve attributes associated with this message.
getAttributes() - Method in class com.twilio.chat.UserInfo
Custom attributes associated with the user info.
getAuthor() - Method in class com.twilio.chat.Message
The global identity of the author of this message.
getAuthor() - Method in class com.twilio.chat.NotificationPayload
 
getBody() - Method in class com.twilio.chat.NotificationPayload
 
getChannel(CallbackListener<Channel>) - Method in class com.twilio.chat.ChannelDescriptor
Retrieve a full Channel object.
getChannel(String, CallbackListener<Channel>) - Method in class com.twilio.chat.Channels
Retrieves a channel with the specified sid or unique name.
getChannel() - Method in class com.twilio.chat.Member
 
getChannel() - Method in class com.twilio.chat.Message
Returns the parent channel this message belongs to.
getChannels() - Method in class com.twilio.chat.ChatClient
Channels available to the ChatClient.
getChannelSid() - Method in class com.twilio.chat.Message
Returns the channel sid of the channel this message belongs to.
getChannelSid() - Method in class com.twilio.chat.NotificationPayload
 
getChannelTitle() - Method in class com.twilio.chat.NotificationPayload
 
getConnectionState() - Method in class com.twilio.chat.ChatClient
 
getDateCreated() - Method in class com.twilio.chat.Channel
Get creation date of the channel as an ISO 8601 string.
getDateCreated() - Method in class com.twilio.chat.ChannelDescriptor
 
getDateCreatedAsDate() - Method in class com.twilio.chat.Channel
Get creation date of the channel.
getDateUpdated() - Method in class com.twilio.chat.Channel
Get update date of the channel as an ISO 8601 string.
getDateUpdated() - Method in class com.twilio.chat.ChannelDescriptor
 
getDateUpdatedAsDate() - Method in class com.twilio.chat.Channel
Get update date of the channel.
getErrorCode() - Method in class com.twilio.chat.ErrorInfo
Returns unique code for given error
getErrorText() - Method in class com.twilio.chat.ErrorInfo
Returns error message of given error
getFriendlyName() - Method in class com.twilio.chat.Channel
Obtain friendly name of the channel.
getFriendlyName() - Method in class com.twilio.chat.ChannelDescriptor
 
getFriendlyName() - Method in class com.twilio.chat.UserInfo
Method that returns the friendlyName of the user info.
getIdentity() - Method in class com.twilio.chat.UserInfo
Returns the identity of the user.
getInitialMessageCount() - Method in class com.twilio.chat.ChatClient.Properties
Deprecated.
getItems() - Method in class com.twilio.chat.Paginator
Get items available in the current page.
getLastConsumedMessageIndex() - Method in class com.twilio.chat.Member
Return members last consumed message index for this channel
getLastConsumedMessageIndex() - Method in class com.twilio.chat.Messages
Return user last consumed message index for the channel
getLastConsumptionTimestamp() - Method in class com.twilio.chat.Member
Return members last consumed message timestamp for this channel
getLastMessages(int, CallbackListener<List<Message>>) - Method in class com.twilio.chat.Messages
Load last messages in chat
getMembers() - Method in class com.twilio.chat.Channel
Get members object that allows access to members roster in the channel.
getMembers(CallbackListener<Paginator<Member>>) - Method in class com.twilio.chat.Members
Obtain an array of members of this channel.
getMembersCount(CallbackListener<Integer>) - Method in class com.twilio.chat.Channel
Get total number of members in the channel roster.
getMembersCount() - Method in class com.twilio.chat.ChannelDescriptor
 
getMessageBody() - Method in class com.twilio.chat.Message
The body for this message.
getMessageByIndex(long, CallbackListener<Message>) - Method in class com.twilio.chat.Messages
Get message object by known index.
getMessageIndex() - Method in class com.twilio.chat.Message
Returns the index number for this message.
getMessages() - Method in class com.twilio.chat.Channel
Get messages object that allows access to messages in the channel.
getMessages() - Method in class com.twilio.chat.Message
Returns the parent messages object this message belongs to.
getMessagesAfter(long, int, CallbackListener<List<Message>>) - Method in class com.twilio.chat.Messages
Load messages after given index
getMessagesBefore(long, int, CallbackListener<List<Message>>) - Method in class com.twilio.chat.Messages
Load messages before given index
getMessagesCount(CallbackListener<Integer>) - Method in class com.twilio.chat.Channel
Get total number of messages in the channel.
getMessagesCount() - Method in class com.twilio.chat.ChannelDescriptor
 
getMessageSid() - Method in class com.twilio.chat.NotificationPayload
 
getMyUserInfo() - Method in class com.twilio.chat.ChatClient
Get user info object for current user
getPageSize() - Method in class com.twilio.chat.Paginator
Amount of items in the current page.
getProperties() - Method in class com.twilio.chat.ChatClient
Get properties for current client
getPublicChannels(CallbackListener<Paginator<ChannelDescriptor>>) - Method in class com.twilio.chat.Channels
Request list of public channels user have not joined.
getRegion() - Method in class com.twilio.chat.ChatClient.Properties
 
getSdkVersion() - Static method in class com.twilio.chat.ChatClient
Returns the version of the Chat SDK.
getSid() - Method in class com.twilio.chat.Channel
Obtain unique identifier for this channel.
getSid() - Method in class com.twilio.chat.ChannelDescriptor
 
getSid() - Method in class com.twilio.chat.Member
Returns unique identifier of a member on a channel.
getSid() - Method in class com.twilio.chat.Message
Returns the identifier for this message.
getSound() - Method in class com.twilio.chat.NotificationPayload
 
getStatus() - Method in class com.twilio.chat.Channel
Returns the current user's participation status on this channel.
getSynchronizationStatus() - Method in class com.twilio.chat.Channel
Get the current synchronization status for channel.
getSynchronizationStrategy() - Method in class com.twilio.chat.ChatClient.Properties
Get client synchronization strategy
getTimeStamp() - Method in class com.twilio.chat.Message
The last updated timestamp for this message.
getType() - Method in class com.twilio.chat.Channel
Obtain channel type.
getType() - Method in class com.twilio.chat.NotificationPayload
Get notification type.
getUnconsumedMessagesCount(CallbackListener<Integer>) - Method in class com.twilio.chat.Channel
Get number of unconsumed messages in the channel.
getUniqueName() - Method in class com.twilio.chat.Channel
Obtain unique name of the channel.
getUniqueName() - Method in class com.twilio.chat.ChannelDescriptor
 
getUserChannels(CallbackListener<Paginator<Channel>>) - Method in class com.twilio.chat.Channels
Request list of user's joined channels.
getUserInfo() - Method in class com.twilio.chat.Member
Return user info for current member
getValue() - Method in enum com.twilio.chat.Channel.ChannelStatus
 
getValue() - Method in enum com.twilio.chat.Channel.ChannelType
 
getValue() - Method in enum com.twilio.chat.Channel.SynchronizationStatus
 
getValue() - Method in enum com.twilio.chat.ChatClient.ConnectionState
 
getValue() - Method in enum com.twilio.chat.ChatClient.SynchronizationStatus
 
getValue() - Method in enum com.twilio.chat.ChatClient.SynchronizationStrategy
 
getValue() - Method in enum com.twilio.chat.UserInfo.UpdateReason
 

H

handleNotification(NotificationPayload) - Method in class com.twilio.chat.ChatClient
Queue the incoming notification with the messaging library for processing.
hasNextPage() - Method in class com.twilio.chat.Paginator
If the paginator has more pages, returns true.

I

inviteByIdentity(String, StatusListener) - Method in class com.twilio.chat.Members
Invite specified username to this channel.
isNotifiable() - Method in class com.twilio.chat.UserInfo
Return user's push reachability.
isOnline() - Method in class com.twilio.chat.UserInfo
Return user's online status, if available.
isReachabilityEnabled() - Method in class com.twilio.chat.ChatClient
Get reachability service status.

J

join(StatusListener) - Method in class com.twilio.chat.Channel
Joins the current user to the channel.

L

leave(StatusListener) - Method in class com.twilio.chat.Channel
Leaves the current channel.

M

Member - Class in com.twilio.chat
Representation of a Chat Member object.
Members - Class in com.twilio.chat
 
Message - Class in com.twilio.chat
Representation of a Chat Message object.
Messages - Class in com.twilio.chat
Representation of a Chat channel's message list.

N

NotificationPayload - Class in com.twilio.chat
Helper accessor for notification data payload bundle as received from Twilio Notifications.
NotificationPayload(Bundle) - Constructor for class com.twilio.chat.NotificationPayload
Create notification payload from the received bundle.
NotificationPayload.Type - Enum in com.twilio.chat
 

O

onChannelAdd(Channel) - Method in interface com.twilio.chat.ChatClientListener
Called when the current user adds a channel to their list of channels.
onChannelChange(Channel) - Method in interface com.twilio.chat.ChatClientListener
Called when one the channel of the current user is changed.
onChannelDelete(Channel) - Method in interface com.twilio.chat.ChatClientListener
Called when one of the channel of the current user is deleted.
onChannelInvite(Channel) - Method in interface com.twilio.chat.ChatClientListener
Called when the current user is invited to a channel.
onChannelSynchronizationChange(Channel) - Method in interface com.twilio.chat.ChatClientListener
Called when channel synchronization status changed.
onClientSynchronization(ChatClient.SynchronizationStatus) - Method in interface com.twilio.chat.ChatClientListener
Called when client synchronization status changes
onConnectionStateChange(ChatClient.ConnectionState) - Method in interface com.twilio.chat.ChatClientListener
Called when client connnection state has changed.
onError(ErrorInfo) - Method in class com.twilio.chat.CallbackListener
Callback to report error status of an asynchronous call to the back end.
onError(ErrorInfo) - Method in interface com.twilio.chat.ChatClientListener
Called when an errorInfo condition occurs.
onError(ErrorInfo) - Method in class com.twilio.chat.StatusListener
Callback to report error status of an asynchronous call to the back end.
onMemberChange(Member) - Method in interface com.twilio.chat.ChannelListener
Called when a Member is changed in the channel the current user is subscribed to.
onMemberDelete(Member) - Method in interface com.twilio.chat.ChannelListener
Called when a Member is deleted from the channel the current user is subscribed to.
onMemberJoin(Member) - Method in interface com.twilio.chat.ChannelListener
Called when a Member is added to the channel the current user is subscribed to.
onMessageAdd(Message) - Method in interface com.twilio.chat.ChannelListener
Called when a Message is added to the channel the current user is subscribed to.
onMessageChange(Message) - Method in interface com.twilio.chat.ChannelListener
Called when a Message is changed in the channel the current user is subscribed to.
onMessageDelete(Message) - Method in interface com.twilio.chat.ChannelListener
Called when a Message is deleted from the channel the current user is subscribed to.
onSuccess(T) - Method in class com.twilio.chat.CallbackListener
Callback to report success status of an asynchronous call to the back end.
onSuccess() - Method in class com.twilio.chat.StatusListener
Callback to report success status of an asynchronous call to the back end.
onSynchronizationChange(Channel) - Method in interface com.twilio.chat.ChannelListener
Called when channel synchronization status changed.
onToastFailed(ErrorInfo) - Method in interface com.twilio.chat.ChatClientListener
Called when registering for push notifications fails.
onToastNotification(String, String) - Method in interface com.twilio.chat.ChatClientListener
Called when client receives a GCM notification.
onToastSubscribed() - Method in interface com.twilio.chat.ChatClientListener
Called when you are successfully registered for push notifications.
onTypingEnded(Member) - Method in interface com.twilio.chat.ChannelListener
Called when an Member stops typing on a Channel.
onTypingStarted(Member) - Method in interface com.twilio.chat.ChannelListener
Called when an Member starts typing on a Channel.
onUserInfoChange(UserInfo, UserInfo.UpdateReason) - Method in interface com.twilio.chat.ChatClientListener
Called when user info is updated for currently loaded users

P

Paginator<T> - Class in com.twilio.chat

R

registerGCMToken(String, StatusListener) - Method in class com.twilio.chat.ChatClient
Register GCM token for push notification updates.
removeAllListeners() - Method in class com.twilio.chat.Channel
Remove all ChannelListeners for this Channel.
removeListener(ChannelListener) - Method in class com.twilio.chat.Channel
Remove ChannelListener for this Channel.
removeMember(Member, StatusListener) - Method in class com.twilio.chat.Members
Remove specified username from this channel.
removeMessage(Message, StatusListener) - Method in class com.twilio.chat.Messages
Removes a message from the channel.
requestNextPage(CallbackListener<Paginator<T>>) - Method in class com.twilio.chat.Paginator
Query the next page.

S

sendMessage(Message, StatusListener) - Method in class com.twilio.chat.Messages
Sends a message to the channel.
sendMessage(String, StatusListener) - Method in class com.twilio.chat.Messages
Sends a message to the channel.
setAllMessagesConsumed() - Method in class com.twilio.chat.Messages
Set last consumed message index to last message index in channel.
setAttributes(JSONObject, StatusListener) - Method in class com.twilio.chat.Channel
Updates the attribute data for this channel.
setAttributes(JSONObject, StatusListener) - Method in class com.twilio.chat.Message
Change attributes associated with this message.
setAttributes(JSONObject, StatusListener) - Method in class com.twilio.chat.UserInfo
Updates the attribute data for this user info.
setFriendlyName(String, StatusListener) - Method in class com.twilio.chat.Channel
Updates the friendly name for this channel.
setFriendlyName(String, StatusListener) - Method in class com.twilio.chat.UserInfo
Updates the friendly name for this user info.
setInitialMessageCount(int) - Method in class com.twilio.chat.ChatClient.Properties.Builder
Deprecated.
Since SDK 0.11.0 it is no longer used.
setLastConsumedMessageIndex(long) - Method in class com.twilio.chat.Messages
Set user last consumed message index for the channel
setLogLevel(int) - Static method in class com.twilio.chat.ChatClient
 
setNoMessagesConsumed() - Method in class com.twilio.chat.Messages
Set last consumed message index before the first message index in channel.
setRegion(String) - Method in class com.twilio.chat.ChatClient.Properties.Builder
 
setSynchronizationStrategy(ChatClient.SynchronizationStrategy) - Method in class com.twilio.chat.ChatClient.Properties.Builder
 
setUniqueName(String, StatusListener) - Method in class com.twilio.chat.Channel
Updates the unique name for this channel.
shutdown() - Method in class com.twilio.chat.ChatClient
Cleanly shuts down the messaging client when you are done with it.
StatusListener - Class in com.twilio.chat
Interface for a generic listener object.
StatusListener() - Constructor for class com.twilio.chat.StatusListener
 
synchronize(CallbackListener<Channel>) - Method in class com.twilio.chat.Channel
Synchronize the channel.

T

typing() - Method in class com.twilio.chat.Channel
Indicate when Member is typing on this channel.

U

unregisterGCMToken(String, StatusListener) - Method in class com.twilio.chat.ChatClient
Unregister from push notification updates.
updateMessageBody(String, StatusListener) - Method in class com.twilio.chat.Message
Updates the body for a message.
updateToken(String, StatusListener) - Method in class com.twilio.chat.ChatClient
Method to update the authentication token for this client.
UserInfo - Class in com.twilio.chat
User info object
UserInfo.UpdateReason - Enum in com.twilio.chat
 

V

valueOf(String) - Static method in enum com.twilio.chat.Channel.ChannelStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.chat.Channel.ChannelType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.chat.Channel.SynchronizationStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.chat.ChatClient.ConnectionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.chat.ChatClient.SynchronizationStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.chat.ChatClient.SynchronizationStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.chat.NotificationPayload.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.chat.UserInfo.UpdateReason
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.twilio.chat.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.chat.Channel.ChannelType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.chat.Channel.SynchronizationStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.chat.ChatClient.ConnectionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.chat.ChatClient.SynchronizationStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.chat.ChatClient.SynchronizationStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.chat.NotificationPayload.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.chat.UserInfo.UpdateReason
Returns an array containing the constants of this enum type, in the order they are declared.

W

withAttributes(JSONObject) - Method in class com.twilio.chat.Channels.ChannelBuilder
Set user-specified custom channel attributes.
withFriendlyName(String) - Method in class com.twilio.chat.Channels.ChannelBuilder
Set channel friendly name.
withType(Channel.ChannelType) - Method in class com.twilio.chat.Channels.ChannelBuilder
Set channel type - PUBLIC or PRIVATE.
withUniqueName(String) - Method in class com.twilio.chat.Channels.ChannelBuilder
Set channel unique name.
writeToParcel(Parcel, int) - Method in class com.twilio.chat.Channel
 
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links