AgoraRtmSetContextErrorCode Constants Reference
| Declared in | AgoraRtmKit.h |
|---|
AgoraRtmSetContextErrorCode
setRtmServiceContext 返回的错误码。
Definition
typedef NS_ENUM(NSInteger, AgoraRtmSetContextErrorCode ) {
AgoraRtmSetContextErrorOK = 0,
AgoraRtmSetContextErrorFailure = 1,
};
Constants
AgoraRtmSetContextErrorOK-
0: Agora RTM 服务上下文设置成功。
Declared In
AgoraRtmKit.h. AgoraRtmSetContextErrorFailure-
1: Agora RTM 服务上下文设置失败,因为
AgoraRtmKit实例已经存在。你需要销毁现有的AgoraRtmKit实例(将实例设为nil)再设置AgoraRtmKit实例的上下文。Declared In
AgoraRtmKit.h.
Declared In
AgoraRtmKit.h
