Cet article nécessite une relecture technique.
Nos bénévoles n'ont pas encore traduit cet article en Français. Aidez-nous à réaliser cette tâche !
Non-standard
This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.
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.