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

add(Member, StatusListener) - Method in class com.twilio.chat.Members
 
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
Listener interface for a generic listener object.
CallbackListener() - Constructor for class com.twilio.chat.CallbackListener
 
CANNOT_GET_MESSAGE_BY_INDEX - Static variable in class com.twilio.chat.ErrorInfo
This code is signaled to the listener of Messages.getMessageByIndex() if general error occurs and message could not be retrieved.
Channel - Class in com.twilio.chat
Container for channel object.
Channel.ChannelStatus - Enum in com.twilio.chat
Represents the various states of the user with respect to the channel.
Channel.ChannelType - Enum in com.twilio.chat
Represents the channel's visibility.
Channel.SynchronizationStatus - Enum in com.twilio.chat
Indicates synchronization status for channel.
Channel.UpdateReason - Enum in com.twilio.chat
Indicates reason for channel update.
CHANNEL_NOT_SYNCHRONIZED - Static variable in class com.twilio.chat.ErrorInfo
This code is signaled when an attempt is made to query channel members or messages without synchronizing first.
channelBuilder() - Method in class com.twilio.chat.Channels
Get ChannelBuilder to create channel with options.
ChannelDescriptor - Class in com.twilio.chat
Contains channel information.
ChannelListener - Interface in com.twilio.chat
Listener interface to report channel operations such as member join/leave and messages add/delete/update.
Channels - Class in com.twilio.chat
Provides access to channels collection, allows to create new channels.
Channels.ChannelBuilder - Class in com.twilio.chat
Helper to create new channel with provided data.
ChatClient - Class in com.twilio.chat
Chat client - main entry point for the Chat SDK.
ChatClient.ConnectionState - Enum in com.twilio.chat
Represents 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
Represents client initialization status.
ChatClientListener - Interface in com.twilio.chat
This interface defines ChatClient callback methods.
CLIENT_ERROR - Static variable in class com.twilio.chat.ErrorInfo
This status is set if error occured in the SDK and is not related to network operations.
com.twilio.chat - package com.twilio.chat
This package provides the classes necessary to create a Twilio Chat client application.
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.
createProperties() - Method in class com.twilio.chat.ChatClient.Properties.Builder
 
CREATOR - Static variable in class com.twilio.chat.Channel
This is a Parcelable-related method.

D

declineInvitation(StatusListener) - Method in class com.twilio.chat.Channel
Decline an invite to this channel.
describeContents() - Method in class com.twilio.chat.Channel
This is a Parcelable-related method.
destroy(StatusListener) - Method in class com.twilio.chat.Channel
Destroy the current channel.
dispose() - Method in class com.twilio.chat.Channel
Dispose Channel object, freeing all allocated resources.
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.User
 
dispose() - Method in class com.twilio.chat.Users
 
download(OutputStream, StatusListener, ProgressListener) - Method in class com.twilio.chat.Message.Media
Save media content stream that could be streamed or downloaded by client.

E

ErrorInfo - Class in com.twilio.chat
Representation of a Chat Error object.
ErrorInfo(int, String) - Constructor for class com.twilio.chat.ErrorInfo
Create ErrorInfo from error code and corresponding message.
ErrorInfo(int, int, String) - Constructor for class com.twilio.chat.ErrorInfo
Create ErrorInfo from status, error code and corresponding message.

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.Channel.UpdateReason
 
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.Member.UpdateReason
 
fromInt(int) - Static method in enum com.twilio.chat.Message.Type
 
fromInt(int) - Static method in enum com.twilio.chat.Message.UpdateReason
 
fromInt(int) - Static method in enum com.twilio.chat.User.UpdateReason
 
fromString(String) - Static method in enum com.twilio.chat.NotificationPayload.Type
 

G

getAndSubscribeUser(CallbackListener<User>) - Method in class com.twilio.chat.Member
 
getAndSubscribeUser(String, CallbackListener<User>) - Method in class com.twilio.chat.Users
 
getAttributes() - Method in class com.twilio.chat.Channel
Get custom attributes associated with the Channel.
getAttributes() - Method in class com.twilio.chat.ChannelDescriptor
Get channel attributes.
getAttributes() - Method in class com.twilio.chat.Message
Retrieve attributes associated with this message.
getAttributes() - Method in class com.twilio.chat.User
Custom attributes associated with the user info.
getAttributes() - Method in class com.twilio.chat.UserDescriptor
Get user attributes.
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
Get NEW_MESSAGE notification author.
getBody() - Method in class com.twilio.chat.NotificationPayload
Get NEW_MESSAGE notification body.
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.Members
 
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
Get NEW_MESSAGE notification channel SID.
getChannelTitle() - Method in class com.twilio.chat.NotificationPayload
Get NEW_MESSAGE notification channel title.
getChannelUserDescriptors(String, CallbackListener<Paginator<UserDescriptor>>) - Method in class com.twilio.chat.Users
 
getCode() - Method in class com.twilio.chat.ErrorInfo
Returns unique code for this error.
getConnectionState() - Method in class com.twilio.chat.ChatClient
 
getCreatedBy() - Method in class com.twilio.chat.Channel
Get creator of the channel.
getCreatedBy() - Method in class com.twilio.chat.ChannelDescriptor
Get creator of the channel.
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
Get channel create date.
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
Get channel update date.
getDateUpdatedAsDate() - Method in class com.twilio.chat.Channel
Get update date of the channel.
getFileName() - Method in class com.twilio.chat.Message.Media
Get file name of media stream.
getFriendlyName() - Method in class com.twilio.chat.Channel
Get friendly name of the channel.
getFriendlyName() - Method in class com.twilio.chat.ChannelDescriptor
Get channel friendly name.
getFriendlyName() - Method in class com.twilio.chat.User
Method that returns the friendlyName of the user info.
getFriendlyName() - Method in class com.twilio.chat.UserDescriptor
Get user friendly name.
getIdentity() - Method in class com.twilio.chat.Member
Return user identity for current member
getIdentity() - Method in class com.twilio.chat.User
Returns the identity of the user.
getIdentity() - Method in class com.twilio.chat.UserDescriptor
Get user identity.
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
getMedia() - Method in class com.twilio.chat.Message
Get media descriptor of an associated media attachment, if exists.
getMember(String) - Method in class com.twilio.chat.Members
 
getMembers() - Method in class com.twilio.chat.Channel
Get members object that allows access to member roster in the channel.
getMembersByIdentity(String) - Method in class com.twilio.chat.Channels
Get list of _all_ Channel members with a given identity.
getMembersCount(CallbackListener<Long>) - Method in class com.twilio.chat.Channel
Get total number of members in the channel roster.
getMembersCount() - Method in class com.twilio.chat.ChannelDescriptor
Get number of members.
getMembersList() - Method in class com.twilio.chat.Members
Obtain an array of members of this channel.
getMessage() - Method in class com.twilio.chat.ErrorInfo
Returns error message of this error.
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<Long>) - Method in class com.twilio.chat.Channel
Get total number of messages in the channel.
getMessagesCount() - Method in class com.twilio.chat.ChannelDescriptor
Get number of messages.
getMessageSid() - Method in class com.twilio.chat.NotificationPayload
Get NEW_MESSAGE notification message SID.
getMyIdentity() - Method in class com.twilio.chat.ChatClient
Get user identity for current user
getMyUser() - Method in class com.twilio.chat.Users
 
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
getPublicChannelsList(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
Get unique identifier for this channel.
getSid() - Method in class com.twilio.chat.ChannelDescriptor
Get channel SID.
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.
getSid() - Method in class com.twilio.chat.Message.Media
Get SID of media stream.
getSize() - Method in class com.twilio.chat.Message.Media
Get size of media stream.
getSound() - Method in class com.twilio.chat.NotificationPayload
Get notification sound.
getStatus() - Method in class com.twilio.chat.Channel
Get the current user's participation status on this channel.
getStatus() - Method in class com.twilio.chat.ChannelDescriptor
 
getStatus() - Method in class com.twilio.chat.ErrorInfo
Get error category as a classifier.
getSubscribedChannels() - Method in class com.twilio.chat.Channels
Request list of user's joined channels.
getSubscribedUsers() - Method in class com.twilio.chat.Users
 
getSynchronizationStatus() - Method in class com.twilio.chat.Channel
Get the current synchronization status for channel.
getTimeStamp() - Method in class com.twilio.chat.Message
The last updated timestamp for this message.
getTimeStampAsDate() - Method in class com.twilio.chat.Message
The last updated timestamp for this message.
getType() - Method in class com.twilio.chat.Channel
Get channel type.
getType() - Method in class com.twilio.chat.Message
 
getType() - Method in class com.twilio.chat.Message.Media
Get mime-type of media stream.
getType() - Method in class com.twilio.chat.NotificationPayload
Get notification type.
getUnconsumedMessagesCount(CallbackListener<Long>) - Method in class com.twilio.chat.Channel
Get number of unconsumed messages in the channel.
getUnconsumedMessagesCount() - Method in class com.twilio.chat.ChannelDescriptor
 
getUniqueName() - Method in class com.twilio.chat.Channel
Get unique name of the channel.
getUniqueName() - Method in class com.twilio.chat.ChannelDescriptor
Get channel unique name.
getUserChannelsList(CallbackListener<Paginator<ChannelDescriptor>>) - Method in class com.twilio.chat.Channels
Request list of channels user have joined.
getUserDescriptor(CallbackListener<UserDescriptor>) - Method in class com.twilio.chat.Member
 
getUserDescriptor(String, CallbackListener<UserDescriptor>) - Method in class com.twilio.chat.Users
 
getUsers() - Method in class com.twilio.chat.ChatClient
 
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.Channel.UpdateReason
 
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.Member.UpdateReason
 
getValue() - Method in enum com.twilio.chat.Message.Type
 
getValue() - Method in enum com.twilio.chat.Message.UpdateReason
 
getValue() - Method in enum com.twilio.chat.User.UpdateReason
 

H

handleNotification(NotificationPayload) - Method in class com.twilio.chat.ChatClient
Queue the incoming notification with the messaging library for processing.
hasMedia() - Method in class com.twilio.chat.Message
Helper method to check if message has media type.
hasNextPage() - Method in class com.twilio.chat.Paginator
If the paginator has more pages, returns true.

I

invite(Member, StatusListener) - Method in class com.twilio.chat.Members
Invite specified member to this channel.
inviteByIdentity(String, StatusListener) - Method in class com.twilio.chat.Members
Invite specified username to this channel.
isAtLeast(Channel.SynchronizationStatus) - Method in enum com.twilio.chat.Channel.SynchronizationStatus
Check if channel synchronization is at least at the given state.
isNotifiable() - Method in class com.twilio.chat.User
Return user's push reachability.
isNotifiable() - Method in class com.twilio.chat.UserDescriptor
Get number of messages.
isOnline() - Method in class com.twilio.chat.User
Return user's online status, if available.
isOnline() - Method in class com.twilio.chat.UserDescriptor
Get number of members.
isReachabilityEnabled() - Method in class com.twilio.chat.ChatClient
Get reachability service status.
isSubscribed() - Method in class com.twilio.chat.User
Check if this user receives real-time status updates.

J

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

L

leave(StatusListener) - Method in class com.twilio.chat.Channel
Leave this channel.

M

Member - Class in com.twilio.chat
Representation of a Chat Member object.
Member.UpdateReason - Enum in com.twilio.chat
Indicates reason for member info update.
Members - Class in com.twilio.chat
Provides access to channel members and allows to add/remove members.
Message - Class in com.twilio.chat
Representation of a Chat Message object.
Message.Media - Class in com.twilio.chat
Media object describes downloadable media inside chat message with type Message.Type.MEDIA.
Message.Options - Class in com.twilio.chat
Used to construct new message before sending.
Message.Type - Enum in com.twilio.chat
Represents the type of message.
Message.UpdateReason - Enum in com.twilio.chat
Indicates reason for message update.
Messages - Class in com.twilio.chat
Representation of a Chat channel's message list.
MISMATCHING_TOKEN_UPDATE - Static variable in class com.twilio.chat.ErrorInfo
This code is signaled to the listener of ChatClient.updateToken() if updated token does not match the original token.

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(Map<String, String>) - Constructor for class com.twilio.chat.NotificationPayload
Create notification payload from the received map.
NotificationPayload.Type - Enum in com.twilio.chat
Represents payload type.

O

onChannelAdded(Channel) - Method in interface com.twilio.chat.ChatClientListener
Called when the current user is added to a channel.
onChannelDeleted(Channel) - Method in interface com.twilio.chat.ChatClientListener
Called when one of the channel of the current user is deleted.
onChannelInvited(Channel) - Method in interface com.twilio.chat.ChatClientListener
Called when the current user is invited to a channel.
onChannelJoined(Channel) - Method in interface com.twilio.chat.ChatClientListener
Called when the current user joins a channel.
onChannelSynchronizationChange(Channel) - Method in interface com.twilio.chat.ChatClientListener
Called when channel synchronization status changed.
onChannelUpdated(Channel, Channel.UpdateReason) - Method in interface com.twilio.chat.ChatClientListener
Called when the channel is updated.
onClientSynchronization(ChatClient.SynchronizationStatus) - Method in interface com.twilio.chat.ChatClientListener
Called when client synchronization status changes
onCompleted(String) - Method in class com.twilio.chat.ProgressListener
Callback to report successful completion of a long operation.
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 error condition occurs.
onError(ErrorInfo) - Method in class com.twilio.chat.StatusListener
Callback to report error status of an asynchronous call to the back end.
onMemberAdded(Member) - Method in interface com.twilio.chat.ChannelListener
Called when a Member is added to the channel the current user is subscribed to.
onMemberDeleted(Member) - Method in interface com.twilio.chat.ChannelListener
Called when a Member is deleted from the channel the current user is subscribed to.
onMemberUpdated(Member, Member.UpdateReason) - Method in interface com.twilio.chat.ChannelListener
Called when a Member is changed in the channel the current user is subscribed to.
onMessageAdded(Message) - Method in interface com.twilio.chat.ChannelListener
Called when a Message is added to the channel the current user is subscribed to.
onMessageDeleted(Message) - Method in interface com.twilio.chat.ChannelListener
Called when a Message is deleted from the channel the current user is subscribed to.
onMessageUpdated(Message, Message.UpdateReason) - Method in interface com.twilio.chat.ChannelListener
Called when a Message is changed in the channel the current user is subscribed to.
onNotification(String, String) - Method in interface com.twilio.chat.ChatClientListener
Called when client receives a GCM notification.
onNotificationFailed(ErrorInfo) - Method in interface com.twilio.chat.ChatClientListener
Called when registering for push notifications fails.
onNotificationSubscribed() - Method in interface com.twilio.chat.ChatClientListener
Called when you are successfully registered for push notifications.
onProgress(long) - Method in class com.twilio.chat.ProgressListener
Callback to report running progress of a long operation.
onStarted() - Method in class com.twilio.chat.ProgressListener
Callback to report start of long operation.
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.
onSynchronizationChanged(Channel) - Method in interface com.twilio.chat.ChannelListener
Called when channel synchronization status changed.
onTypingEnded(Member) - Method in interface com.twilio.chat.ChannelListener
Called when an Member stops typing in a Channel.
onTypingStarted(Member) - Method in interface com.twilio.chat.ChannelListener
Called when an Member starts typing in a Channel.
onUserSubscribed(User) - Method in interface com.twilio.chat.ChatClientListener
Called when a user is subscribed to and will receive realtime state updates.
onUserUnsubscribed(User) - Method in interface com.twilio.chat.ChatClientListener
Called when a user is unsubscribed from and will not receive realtime state updates anymore.
onUserUpdated(User, User.UpdateReason) - Method in interface com.twilio.chat.ChatClientListener
Called when user info is updated for currently loaded users
options() - Static method in class com.twilio.chat.Message
Options builder.

P

Paginator<T> - Class in com.twilio.chat
ProgressListener - Class in com.twilio.chat
Listener interface for media progress reporting.
ProgressListener() - Constructor for class com.twilio.chat.ProgressListener
 

R

registerFCMToken(String, StatusListener) - Method in class com.twilio.chat.ChatClient
Register Firebase Messaging token for push notification updates.
registerGCMToken(String, StatusListener) - Method in class com.twilio.chat.ChatClient
Register GCM token for push notification updates.
remove(Member, StatusListener) - Method in class com.twilio.chat.Members
Remove specified member from this channel.
removeAllListeners() - Method in class com.twilio.chat.Channel
Remove all ChannelListeners for this Channel.
removeByIdentity(String, StatusListener) - Method in class com.twilio.chat.Members
Remove specified username from this channel.
removeListener(ChannelListener) - Method in class com.twilio.chat.Channel
Remove ChannelListener for 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.Options, CallbackListener<Message>) - 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
Update 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.User
Updates the attribute data for this user info.
setFriendlyName(String, StatusListener) - Method in class com.twilio.chat.Channel
Update the friendly name for this channel.
setFriendlyName(String, StatusListener) - Method in class com.twilio.chat.User
Updates the friendly name for this user info.
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
 
setType(Channel.ChannelType, StatusListener) - Method in class com.twilio.chat.Channel
 
setUniqueName(String, StatusListener) - Method in class com.twilio.chat.Channel
Update 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
 
subscribe(CallbackListener<User>) - Method in class com.twilio.chat.UserDescriptor
 

T

toString() - Method in class com.twilio.chat.ErrorInfo
Convert ErrorInfo to string representation, for example for logging.
typing() - Method in class com.twilio.chat.Channel
Indicate that Member is typing in this channel.

U

unregisterFCMToken(String, StatusListener) - Method in class com.twilio.chat.ChatClient
Unregister from Firebase Messaging updates.
unregisterGCMToken(String, StatusListener) - Method in class com.twilio.chat.ChatClient
Unregister from push notification updates.
unsubscribe() - Method in class com.twilio.chat.User
Unsubscribe from this user, freeing up resources.
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.
User - Class in com.twilio.chat
User info object
User.UpdateReason - Enum in com.twilio.chat
Indicates reason for user info update.
UserDescriptor - Class in com.twilio.chat
Contains user information.
Users - Class in com.twilio.chat
Provides access to users and allows to manipulate user information.

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.Channel.UpdateReason
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.Member.UpdateReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.chat.Message.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.twilio.chat.Message.UpdateReason
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.User.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.Channel.UpdateReason
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.Member.UpdateReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.twilio.chat.Message.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.Message.UpdateReason
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.User.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.
withAttributes(JSONObject) - Method in class com.twilio.chat.Message.Options
Set new message attributes.
withBody(String) - Method in class com.twilio.chat.Message.Options
Create message with given body text.
withFriendlyName(String) - Method in class com.twilio.chat.Channels.ChannelBuilder
Set channel friendly name.
withMedia(InputStream, String) - Method in class com.twilio.chat.Message.Options
Create message with given media stream.
withMediaFileName(String) - Method in class com.twilio.chat.Message.Options
Provide optional filename for media.
withMediaProgressListener(ProgressListener) - Method in class com.twilio.chat.Message.Options
Set upload progress listener for media.
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
This is a Parcelable-related method.
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links