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

Public Attributes

int  LEAVE_CHANNEL_ERR_OK = 0
 
int  LEAVE_CHANNEL_ERR_FAILURE = 1
 
int  LEAVE_CHANNEL_ERR_REJECTED = 2
 
int  LEAVE_CHANNEL_ERR_NOT_IN_CHANNEL = 3
 
int  LEAVE_CHANNEL_ERR_KICKED = 4
 
int  LEAVE_CHANNEL_ERR_NOT_INITIALIZED = 101
 
int  LEAVE_CHANNEL_ERR_USER_NOT_LOGGED_IN = 102
 

Member Data Documentation

◆ 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_KICKED

int io.agora.rtm.RtmStatusCode.LeaveChannelError.LEAVE_CHANNEL_ERR_KICKED = 4

4: The user is banned to join 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.