MozNetworkStatsManager.maxStorageAge
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 amount of bytes received and sent during a given amount of time (this amount of time is accessible through the sampleRate
property).
Syntax
JavaScript
Copy Code
var max = navigator.mozNetworkStats.maxStorageAge;
Value
A number given as a long type.
Specifications
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/moznetworkstatsmanager/maxstorageage