Documentation
Real-time Messaging
API Reference
Agora RTM Java API Reference for Android
Agora RTM Java API Reference for Android
◆ LEAVE_CHANNEL_ERR_OK
int io.agora.rtm.RtmStatusCode.LeaveChannelError.LEAVE_CHANNEL_ERR_OK = 0 |
0: The user leaves the channel successfully.
◆ LEAVE_CHANNEL_ERR_FAILURE
int io.agora.rtm.RtmStatusCode.LeaveChannelError.LEAVE_CHANNEL_ERR_FAILURE = 1 |
1: The user fails to leave the channel.
◆ LEAVE_CHANNEL_ERR_REJECTED
int io.agora.rtm.RtmStatusCode.LeaveChannelError.LEAVE_CHANNEL_ERR_REJECTED = 2 |
2: RESERVED FOR FUTURE USE
◆ LEAVE_CHANNEL_ERR_NOT_IN_CHANNEL
int io.agora.rtm.RtmStatusCode.LeaveChannelError.LEAVE_CHANNEL_ERR_NOT_IN_CHANNEL = 3 |
3: The user is not in the channel.
◆ LEAVE_CHANNEL_ERR_NOT_INITIALIZED
int io.agora.rtm.RtmStatusCode.LeaveChannelError.LEAVE_CHANNEL_ERR_NOT_INITIALIZED = 101 |
101: The SDK is not initialized.
◆ LEAVE_CHANNEL_ERR_USER_NOT_LOGGED_IN
int io.agora.rtm.RtmStatusCode.LeaveChannelError.LEAVE_CHANNEL_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 leaving the channel.