Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

MozNetworkStats

This article needs a technical review. How you can help.

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,