NonMutating

A WriteBuilder that does not mutate the object when writing Data to a RemoteAttribute.

Functions

Link copied to clipboard

Creates a Mutating that mutates the object when writing Data to a RemoteAttribute.

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

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

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

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