Instance Property


Metadata about the units and other properties of the characteristic.


@property(readonly, strong, nonatomic) HMCharacteristicMetadata *metadata;


You can typically infer a lot about a characteristic’s value from its characteristicType, like if the value is a string, a number, or in some other format; what the units are; and what range of values to expect. To obtain this information explicitly, inspect the characteristic’s metadata, represented by an instance of the HMCharacteristicMetadata class.

See Also

Managing Characteristic Presentation


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