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

    Interface PlayerEventMap

    All events a Player emits, keyed by event name. Used with Player.on and Player.off.

    Includes the SourceEventMap events of the active source, and sourceError of inactive sources.

    interface PlayerEventMap {
        adBreakFinished: AdBreakFinishedEvent;
        adBreakStarted: AdBreakStartedEvent;
        adClicked: AdClickedEvent;
        adError: AdErrorEvent;
        adFinished: AdFinishedEvent;
        adManifestLoad: AdManifestLoadEvent;
        adManifestLoaded: AdManifestLoadedEvent;
        adQuartile: AdQuartileEvent;
        adScheduled: AdScheduledEvent;
        adSkipped: AdSkippedEvent;
        adStarted: AdStartedEvent;
        audioAdded: AudioAddedEvent;
        audioChanged: AudioChangedEvent;
        audioRemoved: AudioRemovedEvent;
        castAvailable: Event;
        castPaused: Event;
        castPlaybackFinished: Event;
        castPlaying: Event;
        castStart: Event;
        castStarted: CastStartedEvent;
        castStopped: Event;
        castTimeUpdated: Event;
        castWaitingForDevice: CastWaitingForDeviceEvent;
        cueEnter: CueEnterEvent;
        cueExit: CueExitEvent;
        destroy: Event;
        downloadFinished: DownloadFinishedEvent;
        fairplayLicenseAcquired: FairplayLicenseAcquiredEvent;
        metadata: MetadataParsedEvent;
        metadataParsed: MetadataParsedEvent;
        muted: Event;
        nonLinearAdFinished: NonLinearAdFinishedEvent;
        nonLinearAdSkipped: NonLinearAdSkippedEvent;
        nonLinearAdStarted: NonLinearAdStartedEvent;
        paused: PausedEvent;
        play: PlayEvent;
        playbackFinished: Event;
        playbackSpeedChanged: PlaybackSpeedChangedEvent;
        playerActive: Event;
        playerError: ErrorEvent;
        playerInactive: Event;
        playerWarning: ErrorEvent;
        playing: PlayingEvent;
        playlistTransition: PlaylistTransitionEvent;
        ready: Event;
        seek: SeekEvent;
        seeked: Event;
        sourceAdded: SourceAddedEvent;
        sourceError: ErrorEvent;
        sourceLoad: SourceLoadEvent;
        sourceLoaded: SourceLoadedEvent;
        sourceRemoved: SourceRemovedEvent;
        sourceUnloaded: SourceUnloadedEvent;
        sourceWarning: ErrorEvent;
        stallEnded: Event;
        stallStarted: Event;
        subtitleAdded: SubtitleAddedEvent;
        subtitleChanged: SubtitleChangedEvent;
        subtitleRemoved: SubtitleRemovedEvent;
        timeChanged: TimeChangedEvent;
        timeShift: TimeShiftEvent;
        timeShifted: Event;
        unmuted: Event;
        videoDownloadQualityChanged: VideoDownloadQualityChangedEvent;
        videoPlaybackQualityChanged: VideoPlaybackQualityChangedEvent;
    }

    Hierarchy (View Summary)

    Index
    adBreakFinished: AdBreakFinishedEvent

    Emitted when an ad break has finished.

    adBreakStarted: AdBreakStartedEvent

    Emitted when an ad break has started.

    adClicked: AdClickedEvent

    Emitted when an ad has been clicked.

    adError: AdErrorEvent

    Emitted when an ad error occurred.

    adFinished: AdFinishedEvent

    Emitted when an ad has finished.

    adManifestLoad: AdManifestLoadEvent

    Emitted when an ad manifest starts loading.

    adManifestLoaded: AdManifestLoadedEvent

    Emitted when an ad manifest has been loaded.

    adQuartile: AdQuartileEvent

    Emitted when an ad quartile has been reached.

    adScheduled: AdScheduledEvent

    Emitted when an ad has been scheduled.

    adSkipped: AdSkippedEvent

    Emitted when an ad has been skipped.

    adStarted: AdStartedEvent

    Emitted when an ad has started.

    audioAdded: AudioAddedEvent

    Emitted when a new audio track has been added.

    audioChanged: AudioChangedEvent

    Emitted when the selected audio track has changed.

    audioRemoved: AudioRemovedEvent

    Emitted when an audio track has been removed.

    castAvailable: Event

    Emitted when casting to a cast-compatible device is available.

    castPaused: Event

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

    castPlaybackFinished: Event

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

    castPlaying: Event

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

    castStart: Event

    Emitted when casting has been initiated.

    castStarted: CastStartedEvent

    Emitted when the cast app has been launched successfully.

    castStopped: Event

    Emitted when casting has been stopped.

    castTimeUpdated: Event

    Emitted when a time update from the cast-compatible device is received.

    castWaitingForDevice: CastWaitingForDeviceEvent

    Emitted when the player waits for the chosen cast-compatible device to get ready.

    cueEnter: CueEnterEvent

    Emitted when a subtitle cue becomes active.

    cueExit: CueExitEvent

    Emitted when an active subtitle cue becomes inactive.

    destroy: Event

    Emitted when the player is destroyed.

    downloadFinished: DownloadFinishedEvent

    Emitted when a download has finished.

    fairplayLicenseAcquired: FairplayLicenseAcquiredEvent

    Emitted when a FairPlay license has been acquired successfully.

    iOS/tvOS

    Emitted when metadata is encountered during playback.

    metadataParsed: MetadataParsedEvent

    Emitted when metadata is first seen and parsed.

    muted: Event

    Emitted when the player has been muted.

    nonLinearAdFinished: NonLinearAdFinishedEvent

    Emitted when a non-linear ad has finished.

    nonLinearAdSkipped: NonLinearAdSkippedEvent

    Emitted when a non-linear ad has been skipped.

    nonLinearAdStarted: NonLinearAdStartedEvent

    Emitted when a non-linear ad has started.

    paused: PausedEvent

    Emitted when the player has been paused.

    play: PlayEvent

    Emitted when the player received an intention to start or resume playback.

    playbackFinished: Event

    Emitted when the playback of the current media has finished.

    playbackSpeedChanged: PlaybackSpeedChangedEvent

    Emitted when the playback speed changes.

    playerActive: Event

    Emitted when a playback session was started. This event is emitted immediately after the Player.load call and does not wait for actual data to be loaded.

    playerError: ErrorEvent

    Emitted when a player error occurred.

    playerInactive: Event

    Emitted when the active playback session was stopped via Player.unload.

    playerWarning: ErrorEvent

    Emitted when a player warning occurred.

    playing: PlayingEvent

    Emitted when playback has started.

    playlistTransition: PlaylistTransitionEvent

    Emitted when the player transitions between two sources of a playlist.

    ready: Event

    Emitted when the player is ready for immediate playback.

    seek: SeekEvent

    Emitted when the player is about to seek.

    seeked: Event

    Emitted when seeking has finished.

    sourceAdded: SourceAddedEvent

    Emitted when a source has been added to the playback session.

    sourceError: ErrorEvent

    Emitted when a source error occurred.

    sourceLoad: SourceLoadEvent

    Emitted when the source starts loading.

    sourceLoaded: SourceLoadedEvent

    Emitted when the source has been loaded.

    sourceRemoved: SourceRemovedEvent

    Emitted when a source has been removed from the playback session.

    sourceUnloaded: SourceUnloadedEvent

    Emitted when the source has been unloaded.

    sourceWarning: ErrorEvent

    Emitted when a source warning occurred.

    stallEnded: Event

    Emitted when the player stops stalling.

    stallStarted: Event

    Emitted when the player begins to stall due to an empty buffer.

    subtitleAdded: SubtitleAddedEvent

    Emitted when a new subtitle track has been added.

    subtitleChanged: SubtitleChangedEvent

    Emitted when the selected subtitle track has changed.

    subtitleRemoved: SubtitleRemovedEvent

    Emitted when a subtitle track has been removed.

    timeChanged: TimeChangedEvent

    Emitted when the current playback time has changed.

    timeShift: TimeShiftEvent

    Emitted when the player starts time shifting.

    timeShifted: Event

    Emitted when time shifting has finished.

    unmuted: Event

    Emitted when the player has been unmuted.

    videoDownloadQualityChanged: VideoDownloadQualityChangedEvent

    Emitted when the video download quality has changed.

    videoPlaybackQualityChanged: VideoPlaybackQualityChangedEvent

    Emitted when the video playback quality has changed.