HMCharacteristicMetadataUnits Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates units of measure that might be associated with a HMCharacteristic.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum HMCharacteristicMetadataUnits
type HMCharacteristicMetadataUnits =
- Inheritance
-
HMCharacteristicMetadataUnits
- Attributes
Fields
Name | Value | Description |
---|---|---|
None | 0 | Indicates no unit, or a dimensionless unit. |
Celsius | 1 | Indicates a unit that measures temperature in degrees Celsius. |
Fahrenheit | 2 | Indicates a unit that measures temperature in degrees Fahrenheit. |
Percentage | 3 | Indicates a unit that measures percentage. |
ArcDegree | 4 | Indicates a unit that measures degrees of arc. |
Seconds | 5 | The SI unit of time. |
Lux | 6 | The SI unit of luminance. |
PartsPerMillion | 7 | A unit often used for measuring concentrations in liquids or gas. |
MicrogramsPerCubicMeter | 8 | A unit often used for measuring air quality. |