Mutating

A WriteBuilder that mutates the object when writing Data to a RemoteAttribute.

Functions

Link copied to clipboard
abstract fun onFailedToWrite(action: T.(Data, GattResponse.WriteError) -> T)

Sets up a Transformation when failing to write Data to a RemoteAttribute.

Link copied to clipboard
abstract fun onWrite(action: T.(Data) -> T)

Sets up a Transformation when a Data is written to a RemoteAttribute.