Global Variable

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

let HMCharacteristicTypeName: String

The name of the accessory.

let HMCharacteristicTypeIdentify: String

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

let HMCharacteristicTypeVersion: String

The version of the accessory.

let HMCharacteristicTypeLogs: String

Log data for the accessory.

let HMCharacteristicTypeAdminOnlyAccess: String

An indicator of whether the accessory accepts only administrator access.

let HMCharacteristicTypeHardwareVersion: String

The hardware version of the accessory.

let HMCharacteristicTypeSoftwareVersion: String

The software version of the accessory.

let HMCharacteristicTypeLabelNamespace: String

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