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

Public Attributes

int  QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_OK = 0
 
int  QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_FAILURE = 1
 
int  QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_TIMEOUT = 2
 
int  QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_TOO_OFTEN = 3
 
int  QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_NOT_INITIALIZED = 101
 
int  QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_USER_NOT_LOGGED_IN = 102
 

Member Data Documentation

◆ QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_OK

int io.agora.rtm.RtmStatusCode.QueryPeersBySubscriptionOptionError.QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_OK = 0

0: The method call succeeds.

◆ QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_FAILURE

int io.agora.rtm.RtmStatusCode.QueryPeersBySubscriptionOptionError.QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_FAILURE = 1

1: The method call fails.

◆ QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_TIMEOUT

int io.agora.rtm.RtmStatusCode.QueryPeersBySubscriptionOptionError.QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_TIMEOUT = 2

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

◆ QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_TOO_OFTEN

int io.agora.rtm.RtmStatusCode.QueryPeersBySubscriptionOptionError.QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_TOO_OFTEN = 3

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

◆ QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_NOT_INITIALIZED

int io.agora.rtm.RtmStatusCode.QueryPeersBySubscriptionOptionError.QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_NOT_INITIALIZED = 101

101: The SDK is not initialized.

◆ QUERY_PEERS_BY_SUBSCRIPTION_OPTION_ERR_USER_NOT_LOGGED_IN

int io.agora.rtm.RtmStatusCode.QueryPeersBySubscriptionOptionError.QUERY_PEERS_BY_SUBSCRIPTION_OPTION_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.