getDownload method

int getDownload(
  1. NetworkType networkType
)

Downloaded data size in bytes for the given network type.

Parameters

  • networkType: The network type to query (see NetworkType).

Returns

  • The downloaded data size in bytes for networkType.

Implementation

int getDownload(NetworkType networkType) {
  final OperationResult resultString = objectMethod(
    super.pointerId,
    'TransferStatistics',
    'getDownloadNetworkType',
    args: networkType.id,
  );
  return resultString['result'];
}