• 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. MozNetworkStatsData
  6. MozNetworkStatsData.rxBytes

MozNetworkStatsData.rxBytes

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 rxBytes property is a number representing the number of bytes received for a given connection. The value is the total number of bytes received for MozNetworkStatsManager.sampleRate seconds at MozNetworkStatsData.date.

If no network stats are available for the given date, this property is undefined (which is different than 0).

Syntax

var bytes = instanceOfMozNetworkData.rxBytes;

Value

A number or undefined.

Specifications

Not part of any specification.

See also

  • MozNetworkStatsData
  • MozNetworkStatsManager
  • Network Stats API

Document Tags and Contributors

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