This article needs a technical review. How you can help.
clearStats method removes all stats related to the provided network from DB.
var stats = clearStats(network);
- The origin of the data. It can specify wifi, mobile, or null. If null, data measurement from both origins are merged. To know in advance which kind of origin is available, the
MozNetworkStatsManager.getAvailableNetworksmethod returns an Array of interfaces.
Not part of any specification.