Signaling (previously RTM) SDK v1.5.0 API Reference for Android
|
Public Attributes |
|
int | UPLOAD_MEDIA_ERR_OK = 0 |
int | UPLOAD_MEDIA_ERR_FAILURE = 1 |
int | UPLOAD_MEDIA_ERR_INVALID_ARGUMENT = 2 |
int | UPLOAD_MEDIA_ERR_TIMEOUT = 3 |
int | UPLOAD_MEDIA_ERR_SIZE_OVERFLOW = 4 |
int | UPLOAD_MEDIA_ERR_CONCURRENCY_LIMIT_EXCEEDED = 5 |
int | UPLOAD_MEDIA_ERR_INTERRUPTED = 6 |
int | UPLOAD_MEDIA_ERR_NOT_INITIALIZED = 101 |
int | UPLOAD_MEDIA_ERR_NOT_LOGGED_IN = 102 |
Error codes related to uploading a file or image.
int io.agora.rtm.RtmStatusCode.UploadMediaError.UPLOAD_MEDIA_ERR_OK = 0 |
0: The method call succeeds, or the operation succeeds.
int io.agora.rtm.RtmStatusCode.UploadMediaError.UPLOAD_MEDIA_ERR_FAILURE = 1 |
1: Unknown common failure. Please check whether the file exists and whether you have access to the file.
int io.agora.rtm.RtmStatusCode.UploadMediaError.UPLOAD_MEDIA_ERR_INVALID_ARGUMENT = 2 |
2: The argument you put is invalid. For example, mediaId
is in the wrong
format.
int io.agora.rtm.RtmStatusCode.UploadMediaError.UPLOAD_MEDIA_ERR_TIMEOUT = 3 |
3: A timeout occurs. The current timeout is set as 120 seconds. The SDK assumes that a timeout occurs if it has not detected any file transmission between the SDK and the file server for 120 seconds.
int io.agora.rtm.RtmStatusCode.UploadMediaError.UPLOAD_MEDIA_ERR_SIZE_OVERFLOW = 4 |
4: The size of the file or image to upload exceeds 30 MB.
int io.agora.rtm.RtmStatusCode.UploadMediaError.UPLOAD_MEDIA_ERR_CONCURRENCY_LIMIT_EXCEEDED = 5 |
5: You have exceeded the upper limit for file upload. You can initiate a maximum of nine file upload or download tasks at the same time (upload and download tasks count together).
int io.agora.rtm.RtmStatusCode.UploadMediaError.UPLOAD_MEDIA_ERR_INTERRUPTED = 6 |
6: The file or image upload task is aborted for either of the following reasons:
int io.agora.rtm.RtmStatusCode.UploadMediaError.UPLOAD_MEDIA_ERR_NOT_INITIALIZED = 101 |
101:
RtmClient
is not initialized.