- 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
-
- 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
-
- 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
- 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.