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

Public Attributes

int  CANCEL_MEDIA_ERR_OK = 0
 
int  CANCEL_MEDIA_ERR_FAILURE = 1
 
int  CANCEL_MEDIA_ERR_NOT_EXIST = 2
 
int  CANCEL_MEDIA_ERR_NOT_INITIALIZED = 101
 
int  CANCEL_MEDIA_ERR_NOT_LOGGED_IN = 102
 

Detailed Description

Error codes related to cancelling a download task or cancelling an upload task.

Member Data Documentation

◆ CANCEL_MEDIA_ERR_OK

int io.agora.rtm.RtmStatusCode.CancelMediaError.CANCEL_MEDIA_ERR_OK = 0

0: The method call succeeds, or the operation succeeds.

◆ CANCEL_MEDIA_ERR_FAILURE

int io.agora.rtm.RtmStatusCode.CancelMediaError.CANCEL_MEDIA_ERR_FAILURE = 1

1: Unknown common failure.

◆ CANCEL_MEDIA_ERR_NOT_EXIST

int io.agora.rtm.RtmStatusCode.CancelMediaError.CANCEL_MEDIA_ERR_NOT_EXIST = 2

2: The task to cancel does not exist. You can only cancel an ongoing download or upload task. If the download or upload task completes, the corresponding requestId is no longer valid.

◆ CANCEL_MEDIA_ERR_NOT_INITIALIZED

int io.agora.rtm.RtmStatusCode.CancelMediaError.CANCEL_MEDIA_ERR_NOT_INITIALIZED = 101

101: RtmClient "RtmClient" is not initialized.

◆ CANCEL_MEDIA_ERR_NOT_LOGGED_IN

int io.agora.rtm.RtmStatusCode.CancelMediaError.CANCEL_MEDIA_ERR_NOT_LOGGED_IN = 102

102: The user does not call the login method, or the method call of login does not succeed before this operation.