CommunicationPayload

@Serializable
data class CommunicationPayload<Comm : Any>(val deviceId: Id, val payload: Comm)

Represents the payload of a communication.

Parameters

Comm

the type of payload communication.

deviceId

the id of the device that sent the communication.

payload

the payload of the communication.

Constructors

Link copied to clipboard
constructor(deviceId: Id, payload: Comm)

Properties

Link copied to clipboard
Link copied to clipboard