Emitted when the playback on a cast-compatible device has finished.

On Android PlaybackFinishedEvent is also emitted while casting.

interface CastPlaybackFinishedEvent {
    name: string;
    timestamp: number;
}

Hierarchy (view full)

  • Event
    • CastPlaybackFinishedEvent

Properties

Properties

name: string

This event name as it is on the native side.

timestamp: number

The UNIX timestamp in which this event happened.