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
-
The user left the current channel.
Declared In
AgoraEnumerates.h
. AgoraUserOfflineReasonDropped
-
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
-
(Live broadcast only.) The client role switched from the host to the audience.
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h