transferStatistics property

TransferStatistics get transferStatistics

Retrieves network transfer statistics for online route calculations.

Returns a TransferStatistics object containing counters and metrics about network usage performed by the traffic service. This information can be used for diagnostics or to display usage to end users.

Returns

  • TransferStatistics object containing cumulative bytes sent and received for online route calculations.

See also:

Implementation

static TransferStatistics get transferStatistics {
  final OperationResult resultString = staticMethod(
    'RoutingService',
    'getTransferStatistics',
  );

  return TransferStatistics.init(resultString['result']);
}