getDownload method

int getDownload(
  1. NetworkType networkType
)

Gets the overall downloaded data size in bytes / network type

Parameters

  • IN networkType The network type

Returns

  • The overall downloaded data size in bytes

Implementation

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