Data associated with cast status changes (Chromecast, AirPlay, etc.).

interface RNCastStatusChangedData {
    isCasting: boolean;
    isReconnect?: boolean;
}

Properties

isCasting: boolean

Whether the player is currently casting to an external device.

isReconnect?: boolean

Whether the cast status change due to auto reconnect to receiver that was already playing some content(Chromecast). Likely requires to show player if it was hidden to control playback