DeviceStatusKind enum

设备 / 能力类型。

Inheritance
Available extensions

Values

gps → const DeviceStatusKind

GPS 芯片 / 定位引擎。Android "gps"。

wifi → const DeviceStatusKind

Wi-Fi 网络。Android "wifi" / Harmony NET_AVAILABLE_WIFI。

cellular → const DeviceStatusKind

蜂窝 / 基站。Android "cell" 与 "radio" 合并 / Harmony NET_AVAILABLE_CELLULAR。

vpn → const DeviceStatusKind

VPN。Harmony NET_AVAILABLE_VPN。

locationSwitch → const DeviceStatusKind

定位总开关。Android STATUS_LOCATION_SWITCH_OFF / Harmony LOCATION_SWITCH_*。

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wireName → String

Available on DeviceStatusKind, provided by the DeviceStatusKindCodec extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

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