Bitmovin Player React Native SDK - v1.1.0
    Preparing search index...

    Interface SubtitleChangedEvent

    Emitted when the player's selected subtitle track has changed.

    interface SubtitleChangedEvent {
        name: string;
        newSubtitleTrack: SubtitleTrack;
        oldSubtitleTrack: SubtitleTrack;
        timestamp: number;
    }

    Hierarchy (View Summary)

    • Event
      • SubtitleChangedEvent
    Index

    Properties

    name: string

    This event name as it is on the native side.

    newSubtitleTrack: SubtitleTrack

    Subtitle track that is selected now.

    oldSubtitleTrack: SubtitleTrack

    Subtitle track that was previously selected.

    timestamp: number

    The UNIX timestamp in which this event happened.