Global Variable

HMCharacteristicTypeLabelIndex

The index of the label for the service on an accessory with multiple instances of the same service.

Declaration

NSString *const HMCharacteristicTypeLabelIndex;

Discussion

The corresponding value is an integer that’s greater than or equal to 1. When the value for the label namespace characteristic is HMCharacteristicValueLabelNamespaceDot, the label index indicates the number of dots, like ., .., ..., and so on. When the value for the label namespace characteristic is HMCharacteristicValueLabelNamespaceNumeral, the label index indicates the arabic numeral, like 1, 2, 3, and so on.

See Also

Accessory Identification

HMCharacteristicTypeName

The name of the accessory.

HMCharacteristicTypeIdentify

A control you can use to ask the accessory to identify itself.

HMCharacteristicTypeVersion

The version of the accessory.

HMCharacteristicTypeLogs

Log data for the accessory.

HMCharacteristicTypeAdminOnlyAccess

An indicator of whether the accessory accepts only administrator access.

HMCharacteristicTypeHardwareVersion

The hardware version of the accessory.

HMCharacteristicTypeSoftwareVersion

The software version of the accessory.

HMCharacteristicTypeLabelNamespace

The naming schema used to label the services on an accessory with multiple services of the same type.