CastPayload

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

Contains information for the CastWaitingForDevice event.

Constructors

Link copied to clipboard
fun CastPayload(currentTime: Double, deviceName: String?)

Properties

Link copied to clipboard
val currentTime: Double

The current time in seconds.

Link copied to clipboard
val deviceName: String?

The name of the chosen cast device.

Link copied to clipboard
val type: String

The type of the payload (always "cast").