編輯

共用方式為


HMCharacteristicValueChargingState Enum

Definition

Enumerates the state of battery charging.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum HMCharacteristicValueChargingState
type HMCharacteristicValueChargingState = 
Inheritance
HMCharacteristicValueChargingState
Attributes

Fields

Name Value Description
None 0

The battery is not charging.

InProgress 1

The battery is charging.

NotChargeable 2

Applies to