MozNetworkStats

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.connectionType Read only
A string representing the connection type or null.
MozNetworkStats.data Read only
An array of MozNetworkStatsData objects.
MozNetworkStats.start Read only
A date representing the time of the first MozNetworkStatsData object.
MozNetworkStats.end Read only
A date representing the time of the last MozNetworkStatsData object.

Methods

None.

Specification

Not part of any specification.

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, fscholz, MHasan, kscarfone, teoli, Jeremie
 Last updated by: chrisdavidmills,