This API is available on Firefox OS for internal applications only.
Summary
Time in milliseconds recorded by the API until present time for each type of connection. All samples older than maxStorageAge from now are deleted.
A data usage chunk is a MozNetworkStatsData
object representing the total number of bytes received and sent during a given amount of time (this amount of time is accessible through the sampleRate
property).
Syntax
var max = navigator.mozNetworkStats.maxStorageAge;
Value
A number given as a long type.
Specifications
Not part of any specification.