downloadProgress property

int get downloadProgress

Current download progress for this item.

Can also be obtained from a registered callbacks to asyncDownload and setProgressListener methods.

Returns

  • An int progress value in the range 0..100 representing download completion.

Also see:

  • status - Current status of the content item.

Implementation

int get downloadProgress {
  final OperationResult resultString = objectMethod(
    pointerId,
    'ContentStoreItem',
    'getDownloadProgress',
  );

  return resultString['result'];
}