Contents

HMCharacteristicTypeLabelIndex

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

Declaration

let HMCharacteristicTypeLabelIndex: String

Discussion

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

See Also

Accessory identification