AgoraRtmCancelMediaErrorCode Constants Reference
Declared in | AgoraRtmKit.h |
---|
AgoraRtmCancelMediaErrorCode
取消上传或取消下载相关的错误码。
Definition
typedef NS_ENUM(NSInteger, AgoraRtmCancelMediaErrorCode ) {
AgoraRtmCancelMediaErrorOk = 0,
AgoraRtmCancelMediaErrorFailure = 1,
AgoraRtmCancelMediaErrorNotExist = 2,
AgoraRtmCancelMediaErrorNotInitialized = 101,
AgoraRtmCancelMediaErrorNotLoggedIn = 102,
};
Constants
AgoraRtmCancelMediaErrorOk
-
0: 方法调用成功,或取消操作成功。
Declared In
AgoraRtmKit.h
. AgoraRtmCancelMediaErrorFailure
-
1: 通用未知错误。
Declared In
AgoraRtmKit.h
. AgoraRtmCancelMediaErrorNotExist
-
2: 待取消任务不存在。你只能取消正在进行中的上传或下载任务。如果上传或下载任务已完成,对应的
requestId
将不再有效。Declared In
AgoraRtmKit.h
. AgoraRtmCancelMediaErrorNotInitialized
-
101: SDK 未完成初始化。
Declared In
AgoraRtmKit.h
. AgoraRtmCancelMediaErrorNotLoggedIn
-
102: 本次操作前未调用 loginByToken 方法或者 loginByToken 方法调用未成功。
Declared In
AgoraRtmKit.h
.
Declared In
AgoraRtmKit.h