Mutating

A ReadBuilder that mutates the object when reading from a RemoteAttribute after being triggered by a Trigger.

Functions

Link copied to clipboard
abstract fun onFailedToRead(action: T.(Trigger, GattResponse.ReadError) -> T)

Sets up a Transformation when failing to read from a RemoteAttribute.

Link copied to clipboard
abstract fun onRead(action: T.(Response, Trigger) -> T)

Sets up a Transformation when a Response is read from a RemoteAttribute.