getUpload method

int getUpload(
  1. NetworkType networkType
)

Gets the overall uploaded data size in bytes / network type

Parameters

  • IN networkType The network type

Returns

  • The overall uploaded data size in bytes

Implementation

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