|
Agora Java API Reference for Android
|
Public Member Functions | |
| abstract void | setChannelMetadata (String channelName, RtmChannelType channelType, Metadata data, MetadataOptions options, String lockName, ResultCallback< Void > resultCallback) |
| abstract void | updateChannelMetadata (String channelName, RtmChannelType channelType, Metadata data, MetadataOptions options, String lockName, ResultCallback< Void > resultCallback) |
| abstract void | removeChannelMetadata (String channelName, RtmChannelType channelType, Metadata data, MetadataOptions options, String lockName, ResultCallback< Void > resultCallback) |
| abstract void | getChannelMetadata (String channelName, RtmChannelType channelType, ResultCallback< Metadata > resultCallback) |
| abstract void | setUserMetadata (String userId, Metadata data, MetadataOptions options, ResultCallback< Void > resultCallback) |
| abstract void | updateUserMetadata (String userId, Metadata data, MetadataOptions options, ResultCallback< Void > resultCallback) |
| abstract void | removeUserMetadata (String userId, Metadata data, MetadataOptions options, ResultCallback< Void > resultCallback) |
| abstract void | getUserMetadata (String userId, ResultCallback< Metadata > resultCallback) |
| abstract void | subscribeUserMetadata (String userId, ResultCallback< Void > resultCallback) |
| abstract void | unsubscribeUserMetadata (String userId, ResultCallback< Void > resultCallback) |
The RtmStorage class.
This class provides the rtm storage methods that can be invoked by your app.
|
abstract |
Set the metadata of a specified channel.
| channelName | The name of the channel |
| channelType | The type of the channel RtmChannelType |
| data | Metadata data |
| options | The options of operate metadata |
| lockName | lock for operate channel metadata |
| resultCallback | A ResultCallback object.
|
|
abstract |
Update the metadata of a specified channel.
| channelName | The name of the channel |
| channelType | The type of the channel RtmChannelType |
| data | Metadata data |
| options | The options of operate metadata |
| lockName | lock for operate channel metadata |
| resultCallback | A ResultCallback object.
|
|
abstract |
Remove the metadata of a specified channel.
| channelName | The name of the channel |
| channelType | The type of the channel RtmChannelType |
| data | Metadata data |
| options | The options of operate metadata |
| lockName | lock for operate channel metadata |
| resultCallback | A ResultCallback object.
|
|
abstract |
Get the metadata of a specified channel.
| channelName | The name of the channel |
| channelType | The type of the channel RtmChannelType |
| resultCallback | A ResultCallback object
|
|
abstract |
Set the metadata of a specified user.
| userId | The user ID of the specified user |
| data | Metadata data |
| options | The options of operate metadata |
| resultCallback | A ResultCallback object.
|
|
abstract |
Update the metadata of a specified user.
| userId | The user ID of the specified user |
| data | Metadata data |
| options | The options of operate metadata |
| resultCallback | A ResultCallback object.
|
|
abstract |
Remove the metadata of a specified user.
| userId | The user ID of the specified user |
| data | Metadata data |
| options | The options of operate metadata |
| resultCallback | A ResultCallback object.
|
|
abstract |
Get the metadata of a specified user.
| userId | The user ID of the specified user. |
| resultCallback | A ResultCallback object.
|
|
abstract |
Subscribe the metadata update event of a specified user.
| userId | The user ID of the specified user. |
| resultCallback | A ResultCallback object.
|
|
abstract |
unsubscribe the metadata update event of a specified user.
| userId | The user ID of the specified user. |
| resultCallback | A ResultCallback object.
|
1.8.18