Skip to content

@halone/sdk / Download

Interface: Download ​

Properties ​

error ​

ts
error: string | null;

fileName ​

ts
fileName: string;

id ​

ts
id: number;

mimeType ​

ts
mimeType: string | null;

path ​

ts
path: string | null;

Where the file is, once it has a place; open it with apps.open.


receivedBytes ​

ts
receivedBytes: number;

startedAt ​

ts
startedAt: number;

state ​

ts
state: DownloadState;

totalBytes ​

ts
totalBytes: number | null;

Null when the server did not say.


url ​

ts
url: string;

Released under the MIT License.