Signaling (previously RTM) SDK v1.5.0 API Reference for Android
|
Public Attributes |
|
int | ATTRIBUTE_OPERATION_ERR_OK = 0 |
int | ATTRIBUTE_OPERATION_ERR_NOT_READY = 1 |
int | ATTRIBUTE_OPERATION_ERR_FAILURE = 2 |
int | ATTRIBUTE_OPERATION_ERR_INVALID_ARGUMENT = 3 |
int | ATTRIBUTE_OPERATION_ERR_SIZE_OVERFLOW = 4 |
int | ATTRIBUTE_OPERATION_ERR_TOO_OFTEN = 5 |
int | ATTRIBUTE_OPERATION_ERR_USER_NOT_FOUND = 6 |
int | ATTRIBUTE_OPERATION_ERR_TIMEOUT = 7 |
int | ATTRIBUTE_OPERATION_ERR_NOT_INITIALIZED = 101 |
int | ATTRIBUTE_OPERATION_ERR_USER_NOT_LOGGED_IN = 102 |
int io.agora.rtm.RtmStatusCode.AttributeOperationError.ATTRIBUTE_OPERATION_ERR_OK = 0 |
0: The attribute operation succeeds.
int io.agora.rtm.RtmStatusCode.AttributeOperationError.ATTRIBUTE_OPERATION_ERR_NOT_READY = 1 |
1: The SDK is not ready for this attribute operation. Only after the
login
method call succeeds can you call the attribute-related methods.
int io.agora.rtm.RtmStatusCode.AttributeOperationError.ATTRIBUTE_OPERATION_ERR_FAILURE = 2 |
2: The attribute operation fails.
int io.agora.rtm.RtmStatusCode.AttributeOperationError.ATTRIBUTE_OPERATION_ERR_INVALID_ARGUMENT = 3 |
3: The argument you put for this attribute operation is invalid.
int io.agora.rtm.RtmStatusCode.AttributeOperationError.ATTRIBUTE_OPERATION_ERR_SIZE_OVERFLOW = 4 |
4: The attribute size exceeds the limit.
int io.agora.rtm.RtmStatusCode.AttributeOperationError.ATTRIBUTE_OPERATION_ERR_TOO_OFTEN = 5 |
5: The method call frequency exceeds the limit.
setLocalUserAttributes
,
addOrUpdateLocalUserAttributes
,
deleteLocalUserAttributesByKeys
, and
clearLocalUserAttributes
taken together: (RTM SDK for Android Java) the maximum frequency is 10 calls every
five seconds; (RTM SDK for Linux Java) the maximum frequency is 100 calls every five
seconds.
getUserAttributes
and
getUserAttributesByKeys
taken together, (RTM SDK for Android Java) the maximum frequency is 40 calls every
five seconds; (RTM SDK for Linux Java) the maximum frequency is 400 calls every five
seconds.
setChannelAttributes
,
addOrUpdateChannelAttributes
,
deleteChannelAttributesByKeys
, and
clearChannelAttributes
taken together: (RTM SDK for Android Java) the maximum frequency is 10 calls every
five seconds; (RTM SDK for Linux Java) the maximum frequency is 100 calls every five
seconds.
getChannelAttributes
and
getChannelAttributesByKeys
taken together, (RTM SDK for Android Java) the maximum frequency is 10 calls every
five seconds; (RTM SDK for Linux Java) the maximum frequency is 400 calls every five
seconds.
int io.agora.rtm.RtmStatusCode.AttributeOperationError.ATTRIBUTE_OPERATION_ERR_USER_NOT_FOUND = 6 |
6: The specified user is not found, either because the user is offline or because the user does not exist.
int io.agora.rtm.RtmStatusCode.AttributeOperationError.ATTRIBUTE_OPERATION_ERR_TIMEOUT = 7 |
7: A timeout occurs in the attribute-related operation. The current timeout is set as five seconds. Possible reasons: The user is in the CONNECTION_STATE_ABORTED or CONNECTION_STATE_RECONNECTING state.
int io.agora.rtm.RtmStatusCode.AttributeOperationError.ATTRIBUTE_OPERATION_ERR_NOT_INITIALIZED = 101 |
101: The SDK is not initialized.