MessageDescriptor

class MessageDescriptor(val type: MessageType, val id: Int? = null)

A message descriptor given by the Amazon Sidewalk library to identify a message.

Parameters

type

: The message type

id

: The 14-bit identity associated with a message, can be optional, must be in range 0-16383(0x3FFF).

Constructors

Link copied to clipboard
fun MessageDescriptor(type: MessageType, id: Int? = null)

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val id: Int? = null
Link copied to clipboard