UsageStatsNetworkStats constructor
- int sentBytes,
- int receivedBytes,
- String methodCall,
- int requestCounter,
Creates a new instance.
sentBytesNumber of bytes sent over the network.receivedBytesNumber of bytes received from the network.methodCallName or description of the method being called.requestCounterAmount 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);