Creates a characteristic threshold range event for the specified characteristic and number range.
- iOS 11.0+
- tvOS 11.0+
- watchOS 4.0+
The characteristic that the event is observing.
The range for the characteristic value that triggers the event.
An initialized characteristic threshold range event.
Use a characteristic that supports notification; otherwise this initializer throws an exception.