An event that triggers when the value of a characteristic is within a specified range.
On This Page
class HMCharacteristicThresholdRangeEvent : HMEvent
init(characteristic: HMCharacteristic, thresholdRange: HMNumberRange)
Creates a characteristic threshold range event for the specified characteristic and number range.
var characteristic: HMCharacteristic
The characteristic associated with the event.
var thresholdRange: HMNumberRange
The range of the characteristic value that triggers the event.
A set of numbers used to specify conditions for characteristic range threshold events.
A mutable event that triggers when the value of a characteristic is within a specified range.