AgoraRtmLogoutErrorCode Constants Reference

Declared in AgoraRtmKit.h

AgoraRtmLogoutErrorCode

Error codes related to logout.

Definition

typedef NS_ENUM(NSInteger, AgoraRtmLogoutErrorCode ) {
   AgoraRtmLogoutErrorOk = 0,
   AgoraRtmLogoutErrorRejected = 1,
   AgoraRtmLogoutErrorNotInitialized = 101,
   AgoraRtmLogoutErrorNotLoggedIn = 102,
};

Constants

AgoraRtmLogoutErrorOk

0: Logout succeeds. No error occurs.

Declared In AgoraRtmKit.h.

AgoraRtmLogoutErrorRejected

1: RESERVED FOR FUTURE USE

Declared In AgoraRtmKit.h.

AgoraRtmLogoutErrorNotInitialized

101: The SDK is not initialized.

Declared In AgoraRtmKit.h.

AgoraRtmLogoutErrorNotLoggedIn

102: The user does not call the loginByToken method, or the method call of loginByToken does not succeed before the user logs out of the Agora RTM system.

Declared In AgoraRtmKit.h.

Declared In

AgoraRtmKit.h