Chat Android SDK
5.1.0
|
Contains channel information. More...
Public Member Functions | |
Getters | |
void | getChannel (CallbackListener< Channel > listener) |
Retrieve a full Channel object. More... | |
String | getSid () |
Get channel SID. More... | |
String | getFriendlyName () |
Get channel friendly name. More... | |
Attributes | getAttributes () |
Get channel attributes. More... | |
String | getUniqueName () |
Get channel unique name. More... | |
Date | getDateUpdated () |
Get channel update date. More... | |
Date | getDateCreated () |
Get channel create date. More... | |
String | getCreatedBy () |
Get creator of the channel. More... | |
Channel.ChannelStatus | getStatus () |
Get the current user's participation status on this channel. More... | |
Counts | |
long | getMembersCount () |
Get number of members. More... | |
long | getMessagesCount () |
Get number of messages. More... | |
long | getUnconsumedMessagesCount () |
Get number of unconsumed messages. More... | |
Contains channel information.
Unlike Channel, this information won't be updated in realtime. To have refreshed data, user should query channel descriptors again.
From the channel descriptor you could obtain full Channel object by calling getChannel().
Attributes com.twilio.chat.ChannelDescriptor.getAttributes | ( | ) |
void com.twilio.chat.ChannelDescriptor.getChannel | ( | CallbackListener< Channel > | listener | ) |
String com.twilio.chat.ChannelDescriptor.getCreatedBy | ( | ) |
Get creator of the channel.
Date com.twilio.chat.ChannelDescriptor.getDateCreated | ( | ) |
Get channel create date.
Date com.twilio.chat.ChannelDescriptor.getDateUpdated | ( | ) |
Get channel update date.
String com.twilio.chat.ChannelDescriptor.getFriendlyName | ( | ) |
long com.twilio.chat.ChannelDescriptor.getMembersCount | ( | ) |
long com.twilio.chat.ChannelDescriptor.getMessagesCount | ( | ) |
Get number of messages.
String com.twilio.chat.ChannelDescriptor.getSid | ( | ) |
Channel.ChannelStatus com.twilio.chat.ChannelDescriptor.getStatus | ( | ) |
Get the current user's participation status on this channel.
Since for ChannelDescriptors the status is unknown this function will always return Channel::ChannelStatus::UNKNOWN.
long com.twilio.chat.ChannelDescriptor.getUnconsumedMessagesCount | ( | ) |
Get number of unconsumed messages.
String com.twilio.chat.ChannelDescriptor.getUniqueName | ( | ) |