NetworkType enum

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

网络类型。

Constants

  • Disconnected → const NetworkType

    网络连接已断开。

    @JsonValue(0)

    const NetworkType(1)

  • LAN → const NetworkType

    网络类型为 LAN。

    @JsonValue(1)

    const NetworkType(2)

  • Mobile2G → const NetworkType

    网络类型为 2G 移动网络。

    @JsonValue(3)

    const NetworkType(4)

  • Mobile3G → const NetworkType

    网络类型为 3G 移动网络。

    @JsonValue(4)

    const NetworkType(5)

  • Mobile4G → const NetworkType

    网络类型为 4G 移动网络。

    @JsonValue(5)

    const NetworkType(6)

  • Unknown → const NetworkType

    网络连接类型未知。

    @JsonValue(-1)

    const NetworkType(0)

  • values → const List<NetworkType>

    A constant List of the values in this enum, in order of their declaration.

    const List<NetworkType>

  • WIFI → const NetworkType

    网络类型为 Wi-Fi(包含热点)。@JsonValue(2)

    const NetworkType(3)

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