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 AgoraRtmKit instance already exists. Destroy any existing AgoraRtmKit instance by setting them to nil before configuring the context for the Agora RTM service.

Declared In AgoraRtmKit.h.

Declared In

AgoraRtmKit.h