This API is available on Firefox OS for internal applications only.
Summary
The MozNetworkStats object gives access to statistics about the data usage for a given network.
MozNetworkStats objects are obtained through a call to the MozNetworkStatsManager.getNetworkStats() method.
Properties
MozNetworkStats.connectionTypeRead only- A string representing the connection type or
null. MozNetworkStats.dataRead only- An array of
MozNetworkStatsDataobjects. MozNetworkStats.startRead only- A date representing the time of the first
MozNetworkStatsDataobject. MozNetworkStats.endRead only- A date representing the time of the last
MozNetworkStatsDataobject.
Methods
None.
Specification
Not part of any specification.