AgoraUserOfflineReason 常量

Declared in AgoraEnumerates.h

AgoraUserOfflineReason

离线原因

Definition

typedef NS_ENUM(NSUInteger, AgoraUserOfflineReason ) {
   AgoraUserOfflineReasonQuit = 0,
   AgoraUserOfflineReasonDropped = 1,
   AgoraUserOfflineReasonBecomeAudience = 2,
};

Constants

AgoraUserOfflineReasonQuit

用户主动离开

Declared In AgoraEnumerates.h.

AgoraUserOfflineReasonDropped

因过长时间收不到对方数据包,超时掉线。注意:由于 SDK 使用的是不可靠通道,也有可能对方主动离开本方没收到对方离开消息而误判为超时掉线

Declared In AgoraEnumerates.h.

AgoraUserOfflineReasonBecomeAudience

用户身份从主播切换为观众时触发

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h