NonMutating

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

Functions

Link copied to clipboard

Creates a Mutating that mutates the object when reading from a RemoteAttribute after being triggered by a Trigger.

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

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

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

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