TencentDeviceStatus class
设备 / 开关状态变化事件。
🅰️ Android / 🔶 Harmony 支持;🍏 iOS 不支持(订阅
TencentLocationManager.onStatusChanged 时会抛
unsupportedOnThisPlatform)。
Constructors
- TencentDeviceStatus({required DeviceStatusKind kind, required DeviceStatus status, String? description})
-
const
- TencentDeviceStatus.fromMap(Map map)
-
factory
Properties
- description → String?
-
状态描述文案。
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → DeviceStatusKind
-
事件对应的设备 / 能力类型。
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → DeviceStatus
-
当前状态。
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited