AgoraRtmSetContextErrorCode Constants Reference
| Declared in | AgoraRtmKit.h |
|---|
AgoraRtmSetContextErrorCode
Error codes returned by setRtmServiceContext.
Definition
typedef NS_ENUM(NSInteger, AgoraRtmSetContextErrorCode ) {
AgoraRtmSetContextErrorOK = 0,
AgoraRtmSetContextErrorFailure = 1,
};
Constants
-
AgoraRtmSetContextErrorOK -
0: Successfully configured the context for the Agora RTM service.
Declared In
AgoraRtmKit.h. -
AgoraRtmSetContextErrorFailure -
1: Failed to configure the context for the Agora RTM service because at least one
AgoraRtmKitinstance already exists. Destroy any existingAgoraRtmKitinstance by setting them tonilbefore configuring the context for the Agora RTM service.Declared In
AgoraRtmKit.h.
Declared In
AgoraRtmKit.h