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

    Interface DownloadFinishedEvent

    Emitted when a download was finished.

    interface DownloadFinishedEvent {
        downloadTime: number;
        httpStatus: number;
        isSuccess: boolean;
        lastRedirectLocation?: string;
        name: string;
        requestType: HttpRequestType;
        size: number;
        timestamp: number;
        url: string;
    }

    Hierarchy (View Summary)

    • Event
      • DownloadFinishedEvent
    Index

    Properties

    downloadTime: number

    The time needed to finish the request, in seconds.

    httpStatus: number

    The HTTP status code of the request. If opening the connection failed, a value of 0 is returned.

    isSuccess: boolean

    If the download was successful.

    lastRedirectLocation?: string

    The last redirect location, or null if no redirect happened.

    name: string

    This event name as it is on the native side.

    requestType: HttpRequestType

    Which type of request this was.

    size: number

    The size of the downloaded data, in bytes.

    timestamp: number

    The UNIX timestamp in which this event happened.

    url: string

    The URL of the request.