Class

HMCharacteristicMetadata

Metadata that describes a characteristic’s value and that may be useful for presentation purposes.

Declaration

@interface HMCharacteristicMetadata : NSObject

Overview

Querying a characteristic’s metadata enables you to build a user interface that reflects the underlying units, minima, and maxima, and other aspects of the characteristic value.

Topics

Describing a Characteristic

manufacturerDescription

A description of the characteristic provided by the accessory manufacturer.

Bounding the Value

validValues

The subset of valid values supported by the characteristic when the format is of type unsigned integer.

minimumValue

The minimum value for the characteristic.

maximumValue

The maximum value for the characteristic.

stepValue

The minimum interval between values for the characteristic.

maxLength

The maximum number of UTF-8 characters allowed in a characteristic that uses a string format.

Formatting the Value

format

The format of the values for the characteristic.

Characteristic Data Formats

Constants for identifying the data format of characteristic values.

Specifying Units

units

The units of the characteristic value.

Characteristic Units

Descriptions of the units of a characteristic.

Relationships

Inherits From

See Also

Managing Characteristic Presentation

metadata

Metadata about the units and other properties of the characteristic.