Generated when a file download has completed.

Hierarchy

  • FileDownloadCompletedEvent

Properties

contentDisposition: string

The value of the Content-Disposition field from the response header.

downloadedBytes: number

The number of bytes of the item that have already been downloaded.

eTag: string

The value of the ETag header.

fileName: string

The name used to save the file locally.

lastModifiedTime: Date

The value of the Last-Modified header.

mimeType: string

The file mime type.

name: string
originalFileName: string

The original name of the file.

startTime: number

The number of seconds since the UNIX epoch when the download was started.

state: "cancelled" | "interrupted" | "completed"

The file download state.

topic: string
totalBytes: number

The total size in bytes of the file.

type: "file-download-completed"
url: string

The url from which the file is being downloaded.

uuid: string