FileBoxItem
Types
Functions
Register a StateChangeCallback instance that receives state changes callbacks.
Register a TransferProgressCallback instance that receives file item transfer progress callbacks.
Cancels a running download.
Has no effect if called while the item is not in State TRANSFER_IN_PROGRESS.
Removes this item from the file box. Doesn't remove it locally!
Has no effect if the item was not added by us.
Unregister a StateChangeCallback previously registered with .addStateChangeCallback. It will not receive any further callbacks.
Unregister a TransferProgressCallback previously registered with .addTransferProgressCallback. It will not receive any further callbacks.
Starts downloading the item to an app-local location. If you want to specify the download location use the .startDownload method.
Starts downloading the item to a given path.
Has no effect if called while the item is not in State READY_TO_DOWNLOAD.