CastPayload

CastPayload

data class CastPayload(val currentTime: Double, val deviceName: String?)

Contains information for the CastWaitingForDevice event.

Constructors

CastPayloadconstructor(currentTime: Double, deviceName: String?)

Properties

NameSummary
currentTimeval currentTime: Double
The current time in seconds.
deviceNameval deviceName: String?
The name of the chosen cast device.
typeval type: String
The type of the payload (always "cast").