UserOfflineReason enum

最近更新时间:2022-09-20 05:17:40

用户离线原因。

Constants

  • BecomeAudience → const UserOfflineReason

    (直播场景中)用户身份从主播切换为观众时触发。@JsonValue(2)const UserOfflineReason(2)

  • Dropped → const UserOfflineReason

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

  • Quit → const UserOfflineReason

    用户主动离开。@JsonValue(0)const UserOfflineReason(0)

  • values → const List<UserOfflineReason>

    A constant List of the values in this enum, in order of their declaration.const List<UserOfflineReason>

Properties

  • hashCodeint

    The hash code for this object. [...]read-only, inherited

  • index → int

    The integer index of this enum.final

  • runtimeTypeType

    A representation of the runtime type of the object.read-only, inherited

Methods

Operators