Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DownloadResult

A result of file downloading.

Hierarchy

  • DownloadResult

Index

Constructors

Properties

buffer: null | Buffer

The buffer to store the file data in case if the user decides not to save it on a disk.

fileName: null | string = null

The name of a downloaded file.

filePath: null | string = null

The path of a downloaded file.

id?: string | number

A beatmap or beatmapset ID which was processed.

md5: null | string = null

MD5 hash of a file or buffer.

Status of the downloading.

statusText: string

Readable download status.

url?: string

URL that was used to download a file.

Accessors

  • get fileExists(): boolean
  • get isSuccessful(): boolean