Signaling (previously RTM) SDK v1.5.0 API Reference for Android
Public Attributes | List of all members
io.agora.rtm.RtmStatusCode.PeerSubscriptionStatusError Interface Reference

Public Attributes

int  PEER_SUBSCRIPTION_STATUS_ERR_OK = 0
 
int  PEER_SUBSCRIPTION_STATUS_ERR_FAILURE = 1
 
int  PEER_SUBSCRIPTION_STATUS_ERR_INVALID_ARGUMENT = 2
 
int  PEER_SUBSCRIPTION_STATUS_ERR_REJECTED = 3
 
int  PEER_SUBSCRIPTION_STATUS_ERR_TIMEOUT = 4
 
int  PEER_SUBSCRIPTION_STATUS_ERR_TOO_OFTEN = 5
 
int  PEER_SUBSCRIPTION_STATUS_ERR_OVERFLOW = 6
 
int  PEER_SUBSCRIPTION_STATUS_ERR_NOT_INITIALIZED = 101
 
int  PEER_SUBSCRIPTION_STATUS_ERR_USER_NOT_LOGGED_IN = 102
 

Member Data Documentation

◆ PEER_SUBSCRIPTION_STATUS_ERR_OK

int io.agora.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_OK = 0

0: The method call succeeds.

◆ PEER_SUBSCRIPTION_STATUS_ERR_FAILURE

int io.agora.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_FAILURE = 1

1: The method call fails.

◆ PEER_SUBSCRIPTION_STATUS_ERR_INVALID_ARGUMENT

int io.agora.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_INVALID_ARGUMENT = 2

2: The method call fails. The argument is invalid.

◆ PEER_SUBSCRIPTION_STATUS_ERR_REJECTED

int io.agora.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_REJECTED = 3

3: RESERVED FOR FUTURE USE

◆ PEER_SUBSCRIPTION_STATUS_ERR_TIMEOUT

int io.agora.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_TIMEOUT = 4

4: The SDK fails to receive a response from the server within 10 seconds. The current timeout is set as 10 seconds. Possible reasons: The user is in the CONNECTION_STATE_ABORTED or CONNECTION_STATE_RECONNECTING state.

◆ PEER_SUBSCRIPTION_STATUS_ERR_TOO_OFTEN

int io.agora.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_TOO_OFTEN = 5

5: The method call frequency of this method exceeds the limit of 10 queries every five seconds.

◆ PEER_SUBSCRIPTION_STATUS_ERR_OVERFLOW

int io.agora.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_OVERFLOW = 6

6: The number of peers, to whom you subscribe, exceeds the limit of 512.

◆ PEER_SUBSCRIPTION_STATUS_ERR_NOT_INITIALIZED

int io.agora.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_NOT_INITIALIZED = 101

101: The SDK is not initialized.

◆ PEER_SUBSCRIPTION_STATUS_ERR_USER_NOT_LOGGED_IN

int io.agora.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_USER_NOT_LOGGED_IN = 102

102: The user does not call the login method, or the method call of login does not succeed before querying peer the online status.