Creates a new characteristic event which triggers when the specified characteristic reaches the specified value.
- iOS 9.0+
The characteristic that the event is observing.
The value of the characteristic that triggers the event. Specifying
nilcauses the event to fire every time the value of the characteristic changes.
An initialized characteristic event for the specified characteristic and trigger value.
Use a characteristic that supports notification; otherwise this initializer throws an exception.