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

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/moznetworkstats

API B2G Firefox OS Network Stats Non-standard Reference Référence