VpaMessage

data class VpaMessage(val topic: String, val action: String, val payload: String) : Parcelable

A class that can be used to exchange custom data between a VPA service and its clients.

For example, it can be used by a VPA service to provide a frontend with VPA-specific visual metadata or by a frontend to provide a VPA service with VPA-specific UI events.

Constructors

Link copied to clipboard
constructor(topic: String, action: String, payload: String)

Properties

Link copied to clipboard

A string describing the message action.

Link copied to clipboard

The message content.

Link copied to clipboard

A string describing the topic of the message.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)