HMCharacteristicMetadataFormat Enum

Definition

Enumerates the data types that can represent characteristics.

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

Fields

Name Value Description
None 0

The data format is either unspecified or unknown.

Bool 1

The data are represented by Boolean values.

Int 2

The data are represented by int values.

Float 3

The data are represented by float values.

String 4

The data are represented by string values.

Array 5

The data are represented by arrays.

Dictionary 6

The data are represented by dictionary values.

UInt8 7

The data are represented by UInt8 values.

UInt16 8

The data are represented by UInt16 values.

UInt32 9

The data are represented by UInt32 values.

UInt64 10

The data are represented by UInt64 values.

Data 11

The data are represented by binary blobs.

Tlv8 12

The data are represented by Tlv8 values, which are packed 8-bit type and length values, followed by the number of bytes that are specified in the packed length field.

Applies to