UsageStatsNetworkStats constructor

UsageStatsNetworkStats(
  1. int sentBytes,
  2. int receivedBytes,
  3. String methodCall,
  4. int requestCounter,
)

Creates a new instance.

  • sentBytes Number of bytes sent over the network.
  • receivedBytes Number of bytes received from the network.
  • methodCall Name or description of the method being called.
  • requestCounter Amount of calls for particular family of methodCall. methodCall in this case is considered as base request, additional query params are ignored, all calculated as one request. e.g. https://search.hereapi.com/someparams and https://search.hereapi.com/someparams2 will be considered as 1 methodCall, and requestCounter is 2.

Implementation

UsageStatsNetworkStats(this.sentBytes, this.receivedBytes, this.methodCall, this.requestCounter);