• 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. MozNetworkStats
  6. MozNetworkStats.data

MozNetworkStats.data

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.

Summary

The data property is a list of data usage statistics chunk. Each chunk is a MozNetworkStatsData that provides the total number of bytes received and sent during a given amount of time (this amount of time is accessible through the MozNetworkStatsManager.sampleRate property).

Syntax

var data = instanceOfMozNetworkStats.data;

Value

An Array of MozNetworkStatsData objects.

Specifications

Not part of any specification.

See also

  • MozNetworkStats
  • MozNetworkStatsManager
  • Network Stats API

Document Tags and Contributors

Tags: 
  • API
  • B2G
  • DOM
  • DOM Reference
  • Firefox OS
  • Non Standard
  • Property
  • Reference
  • Référence
 Contributors to this page: PushpitaPikuDey, kmag, chrisdavidmills, fscholz, MHasan, kscarfone, vishu_gawli, Jeremie
 Last updated by: PushpitaPikuDey, Jul 14, 2017, 12:11:58 PM
See also
  1. Network Stats API
  2. Archive
  3. Related pages for Network Stats API
    1. MozNetworkStats
    2. MozNetworkStatsData
    3. MozNetworkStatsManager