• Skip to main content
  • Select language
  • Skip to search
MDN Web Docs
  • Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs / DOM
    • WebExtensions
    • MathML
  • References & Guides
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
B2G OS
  1. MDN
  2. Archive of obsolete content
  3. B2G OS
  4. B2G OS APIs
  5. MozNetworkStatsManager
  6. MozNetworkStatsManager.maxStorageSamples

MozNetworkStatsManager.maxStorageSamples

In This Article
  1. Summary
  2. Syntax
  3. Value
  4. Specifications
  5. See also

This API is available on Firefox OS for internal applications only.

Retrieval of the max storage amount is now done via the MozNetworkStatsManager.maxStorageAge attribute.

Summary

The maxStorageSamples property indicates the maximum number of date usage chunks stored for each type of connection.

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.maxStorageSamples;

Value

A number.

Specifications

Not part of any specification.

See also

  • MozNetworkStatsManager
  • Network Stats API

Document Tags and Contributors

Tags: 
  • API
  • B2G
  • Firefox OS
  • Network Stats
  • Non Standard
  • Obsolete
  • Property
  • Reference
  • Référence
 Contributors to this page: kmag, chrisdavidmills, zeller, fscholz, MHasan, kscarfone, Jeremie
 Last updated by: kmag, Apr 27, 2017, 5:32:27 AM
See also
  1. Network Stats API
  2. Archive
  3. Related pages for Network Stats API
    1. MozNetworkStats
    2. MozNetworkStatsData
    3. MozNetworkStatsManager