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

    Interface OfflineContentManagerListener

    The listener that can be passed to the OfflineContentManager to receive callbacks for different events.

    Platform: Android, iOS

    interface OfflineContentManagerListener {
        onCanceled?: (e: OnCanceledEvent) => void;
        onCompleted?: (e: OnCompletedEvent) => void;
        onDrmLicenseExpired?: (e: OnDrmLicenseExpiredEvent) => void;
        onDrmLicenseUpdated?: (e: OnDrmLicenseUpdatedEvent) => void;
        onError?: (e: OnErrorEvent) => void;
        onOptionsAvailable?: (e: OnOptionsAvailableEvent) => void;
        onProgress?: (e: OnProgressEvent) => void;
        onResumed?: (e: OnResumedEvent) => void;
        onSuspended?: (e: OnSuspendedEvent) => void;
    }
    Index

    Properties

    onCanceled?: (e: OnCanceledEvent) => void

    Emitted when the download of the media content was canceled by the user and all partially downloaded content has been deleted from disk.

    Type declaration

    onCompleted?: (e: OnCompletedEvent) => void

    Emitted when the download process has completed.

    Type declaration

    onDrmLicenseExpired?: (e: OnDrmLicenseExpiredEvent) => void

    Emitted when the DRM license has expired.

    Type declaration

    onDrmLicenseUpdated?: (e: OnDrmLicenseUpdatedEvent) => void

    Emitted when the DRM license was updated.

    Type declaration

    onError?: (e: OnErrorEvent) => void

    Emitted when an error has occurred.

    Type declaration

    onOptionsAvailable?: (e: OnOptionsAvailableEvent) => void

    Emitted when the OfflineContentOptions is available after a OfflineContentManager.getOptions call.

    Type declaration

    onProgress?: (e: OnProgressEvent) => void

    Emitted when there is a progress change for the process call.

    Type declaration

    onResumed?: (e: OnResumedEvent) => void

    Emitted when all actions have been resumed.

    Type declaration

    onSuspended?: (e: OnSuspendedEvent) => void

    Emitted when all active actions have been suspended.

    Type declaration