MessageHandle

data class MessageHandle

MessageHandle is returned upon sending a mesh message that allows the message to be cancelled.

Only segmented and acknowledged messages can be cancelled. Unsegmented unacknowledged messages are sent instantaneously (depending on the connection interval and message size) and therefore cannot be cancelled.

The handle contains information about the message that was sent.

Properties

Link copied to clipboard

Destination address of the message.

Link copied to clipboard

Mesh message that was sent.

Link copied to clipboard
Link copied to clipboard

Source address of the message.

Functions

Link copied to clipboard
fun cancel()

Cancels sending the message.