AgoraRtmCancelMediaErrorCode Constants Reference
Declared in | AgoraRtmKit.h |
---|
AgoraRtmCancelMediaErrorCode
Error codes related to cancelling a download task or cancelling an upload task.
Definition
typedef NS_ENUM(NSInteger, AgoraRtmCancelMediaErrorCode ) {
AgoraRtmCancelMediaErrorOk = 0,
AgoraRtmCancelMediaErrorFailure = 1,
AgoraRtmCancelMediaErrorNotExist = 2,
AgoraRtmCancelMediaErrorNotInitialized = 101,
AgoraRtmCancelMediaErrorNotLoggedIn = 102,
};
Constants
-
AgoraRtmCancelMediaErrorOk
-
0: The method call succeeds, or the operation succeeds.
Declared In
AgoraRtmKit.h
. -
AgoraRtmCancelMediaErrorFailure
-
1: Unknown common failure.
Declared In
AgoraRtmKit.h
. -
AgoraRtmCancelMediaErrorNotExist
-
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.Declared In
AgoraRtmKit.h
. -
AgoraRtmCancelMediaErrorNotInitialized
-
101: The SDK is not initialized.
Declared In
AgoraRtmKit.h
. -
AgoraRtmCancelMediaErrorNotLoggedIn
-
102: The user does not call the loginByToken method, or the method call of loginByToken does not succeed before this operation.
Declared In
AgoraRtmKit.h
.
Declared In
AgoraRtmKit.h