Skip to content

ElectronDownloadItem.getTotalBytes method

ElectronDownloadItem › getTotalBytes

Unofficial

Returns the total size in bytes of the download item. Returns 0 if the size is unknown.

Signature:

getTotalBytes(): number

Returns: numberThe total number of bytes.