See: Description
Interface | Description |
---|---|
ChannelListener |
Listener interface to report channel operations such as member join/leave and messages
add/delete/update.
|
ChatClientListener |
This interface defines ChatClient callback methods.
|
Class | Description |
---|---|
CallbackListener<T> |
Listener interface for a generic listener object.
|
Channel |
Container for channel object.
|
ChannelDescriptor |
Contains channel information.
|
Channels |
Provides access to channels collection, allows to create new channels.
|
Channels.ChannelBuilder |
Helper to create new channel with provided data.
|
ChatClient |
Chat client - main entry point for the Chat SDK.
|
ChatClient.Properties |
Properties for client initialization configuration
|
ChatClient.Properties.Builder |
Builder class for client properties
|
ErrorInfo |
Representation of a Chat Error object.
|
Member |
Representation of a Chat Member object.
|
Members |
Provides access to channel members and allows to add/remove members.
|
Message |
Representation of a Chat Message object.
|
Message.Options |
Used to construct new message before sending.
|
Messages |
Representation of a Chat channel's message list.
|
NotificationPayload |
Helper accessor for notification data payload bundle as received from Twilio Notifications.
|
Paginator<T> |
Class for paginating over items retrieved using
Channels.getPublicChannelsList(com.twilio.chat.CallbackListener<com.twilio.chat.Paginator<com.twilio.chat.ChannelDescriptor>>) ,
Channels.getUserChannelsList(com.twilio.chat.CallbackListener<com.twilio.chat.Paginator<com.twilio.chat.ChannelDescriptor>>) or getChannelUserDescriptors(java.lang.String, com.twilio.chat.CallbackListener<com.twilio.chat.Paginator<com.twilio.chat.UserDescriptor>>) . |
ProgressListener |
Listener interface for media progress reporting.
|
StatusListener |
Interface for a generic listener object.
|
User |
User info object
|
UserDescriptor |
Contains user information.
|
Users |
Provides access to users and allows to manipulate user information.
|
Enum | Description |
---|---|
Channel.ChannelStatus |
Represents the various states of the user with respect to the channel.
|
Channel.ChannelType |
Represents the channel's visibility.
|
Channel.SynchronizationStatus |
Indicates synchronization status for channel.
|
Channel.UpdateReason |
Indicates reason for channel update.
|
ChatClient.ConnectionState |
Represents underlying twilsock connection state.
|
ChatClient.SynchronizationStatus |
Represents client initialization status.
|
Member.UpdateReason |
Indicates reason for member info update.
|
Message.Type |
Represents the type of message.
|
Message.UpdateReason |
Indicates reason for message update.
|
NotificationPayload.Type |
Represents payload type.
|
User.UpdateReason |
Indicates reason for user info update.
|
Twilio Chat is a framework that helps you send and receive text and multi-media messages between users grouped into channels. Each channel is like a chat room - any message posted to this channel will be seen by all channel members. Channels can be public and private. Public channels are visible to all the users on the service instance and can be joined and left at will. Joining a channel makes that user a member of the channel. User can be a member of many channels at once, one channel or none at all. Private channels are visible only to the user who created it and others who have been invited to join this channel.
Members could send simple text messages to the channel, and also attach arbitrary attributes.
Additionally, Members could send multimedia messages by attaching specific media they want to send via a stream interface.
See examples in the corresponding classes for more information.