AgoraUserOfflineReason Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraUserOfflineReason
Reason for the user being offline.
Definition
typedef NS_ENUM(NSUInteger, AgoraUserOfflineReason ) {
AgoraUserOfflineReasonQuit = 0,
AgoraUserOfflineReasonDropped = 1,
AgoraUserOfflineReasonBecomeAudience = 2,
};
Constants
AgoraUserOfflineReasonQuit
-
0: The user left the current channel. On iOS, the SDK reports this reason code after the user kills the app with a gesture swipe.
Declared In
AgoraEnumerates.h
. AgoraUserOfflineReasonDropped
-
1: The SDK timed out and the user dropped offline because no data packet is received within a certain period of time. If a user quits the call and the message is not passed to the SDK (due to an unreliable channel), the SDK assumes the user dropped offline.
Declared In
AgoraEnumerates.h
. AgoraUserOfflineReasonBecomeAudience
-
2: (Interactive live streaming only.) The client role switched from the host to the audience.
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h