Chat Android SDK
5.1.0
|
Contains user information. More...
Public Member Functions | |
Getters | |
String | getFriendlyName () |
Get user friendly name. More... | |
Attributes | getAttributes () |
Get user attributes. More... | |
String | getIdentity () |
Get user identity. More... | |
boolean | isOnline () |
User online status. More... | |
boolean | isNotifiable () |
User notifiable status. More... | |
Actions | |
void | subscribe (CallbackListener< User > listener) |
Subscribe to the user object. More... | |
Contains user information.
Unlike User, this information won't be updated in realtime. To have refreshed data, user should query user descriptors again.
From the user descriptor you could obtain full User object by calling subscribe().
Attributes com.twilio.chat.UserDescriptor.getAttributes | ( | ) |
String com.twilio.chat.UserDescriptor.getFriendlyName | ( | ) |
String com.twilio.chat.UserDescriptor.getIdentity | ( | ) |
boolean com.twilio.chat.UserDescriptor.isNotifiable | ( | ) |
User notifiable status.
boolean com.twilio.chat.UserDescriptor.isOnline | ( | ) |
void com.twilio.chat.UserDescriptor.subscribe | ( | CallbackListener< User > | listener | ) |
Subscribe to the user object.
listener | Listener that will receive callback with the result. |