Class

HMNumberRange

A set of numbers used to specify conditions for characteristic range threshold events.

Declaration

class HMNumberRange : NSObject

Topics

Creating a Number Range

init(minValue: NSNumber)

Creates an one-sided number range with a minimum value.

init(maxValue: NSNumber)

Creates a one-sided number range with a maximum value.

Inspecting a Number Range

var minValue: NSNumber?

The minimum value of the range.

var maxValue: NSNumber?

The maximum value of the range.

Relationships

Inherits From

Conforms To

See Also

Characteristic Ranges

class HMCharacteristicThresholdRangeEvent

An event that triggers when the value of a characteristic is within a specified range.

class HMMutableCharacteristicThresholdRangeEvent

A mutable event that triggers when the value of a characteristic is within a specified range.