Changes the trigger value associated with this event.
- iOS 9.0–11.0Deprecated
The value of the characteristic that triggers the event.
The block executed once the trigger value update request has been processed.
nilon success; otherwise, error object indicating the reason for failure.
Set the trigger value to
nil to trigger the event whenever the value of the characteristic changes.