Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DownloadFinishedEvent

Hierarchy

Index

Properties

attempt

attempt: number

Most requests are re-tried a few times if they fail. This marks how many attempts have been made. Starts at 1.

downloadTime

downloadTime: number

The time needed to finish the request.

downloadType

downloadType: string

Specifies which type of request this was. Valid types are currently manifest, media, and license (for DRM license requests).

httpStatus

httpStatus: number

The HTTP status code of the request. Status code 0 means a network or CORS error happened.

maxAttempts

maxAttempts: number

Most requests are re-tried a few times if they fail. This marks the maximum amount of tries to fulfill the request.

size

size: number

The size of the downloaded data, in bytes.

success

success: boolean

Indicates whether the request was successful (true) or failed (false).

timestamp

timestamp: number

The time at which this event was fired

type

type: Event

Event type, e.g. 'onPlay'

url

url: string

The URL of the request.

Generated using TypeDoc