|
Conversations Android SDK
1.0.1
|
Attributes representation, can be set to Conversation, User, Participant or Message. More...
Public Member Functions | |
| Attributes () | |
| Create NULL attributes. | |
| Attributes (@NonNull JSONObject object) | |
| Initialize attributes with a JSONObject. | |
| Attributes (@NonNull JSONArray array) | |
| Initialize attributes with a JSONArray. | |
| Attributes (@NonNull String string) | |
| Initialize attributes with a String. | |
| Attributes (@NonNull Number number) | |
| Initialize attributes with a Number. | |
| Attributes (boolean value) | |
| Initialize attributes with a boolean value. | |
| Type | getType () |
| JSONObject | getJSONObject () |
| JSONArray | getJSONArray () |
| String | getString () |
| Number | getNumber () |
| Boolean | getBoolean () |
Static Public Attributes | |
| static final Attributes | DEFAULT = new Attributes(new JSONObject()) |
| Default attributes value. More... | |
Attributes representation, can be set to Conversation, User, Participant or Message.
| Boolean com.twilio.conversations.Attributes.getBoolean | ( | ) |
null. | JSONArray com.twilio.conversations.Attributes.getJSONArray | ( | ) |
null. | JSONObject com.twilio.conversations.Attributes.getJSONObject | ( | ) |
null. | Number com.twilio.conversations.Attributes.getNumber | ( | ) |
null. | String com.twilio.conversations.Attributes.getString | ( | ) |
null. | Type com.twilio.conversations.Attributes.getType | ( | ) |
|
static |
Default attributes value.