Agora Java API Reference for Android
|
Public Member Functions | |
MetadataItem () | |
MetadataItem (String key, String value) | |
MetadataItem (String key, String value, long revision) | |
MetadataItem (String key, String value, String authorUserId, long revision, long updateTs) | |
void | setKey (String key) |
void | setValue (String value) |
void | setRevision (long revision) |
String | getKey () |
String | getValue () |
String | getAuthorUserId () |
long | getRevision () |
long | getUpdateTs () |
String | toString () |
io.agora.rtm.MetadataItem.MetadataItem | ( | ) |
io.agora.rtm.MetadataItem.MetadataItem | ( | String | key, |
String | value | ||
) |
Creates a new instance of
with key and value.
key | The key of the metadata item |
value | The value of the metadata item |
io.agora.rtm.MetadataItem.MetadataItem | ( | String | key, |
String | value, | ||
long | revision | ||
) |
Creates a new instance of
with key, value and revision.
Note: If set revision not equals -1, rtm server will check the revision when modify MetadataItem.
key | The key of the metadata item |
value | The value of the metadata item |
revision | The revision of the metadata item |