This article is in need of a technical review.
この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。
Non-standard
This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.
This API is available on Firefox OS for internal applications only.
Summary
The MozNetworkStatsData objects represent a chunk of data usage statistics.
It provides the total amount of data received and sent during a given amount of time. The exact amount of time is provided by the MozNetworkStatsManager.sampleRate property.
Properties
MozNetworkStatsData.rxBytesRead only- A number representing the number of bytes received at "
date" for "sampleRate" seconds. MozNetworkStatsData.txBytesRead only- A number representing the number of bytes sent at "
date" for "sampleRate" seconds. MozNetworkStatsData.dateRead only- A date representing the time when the number of bytes received and sent were stored.
Methods
None.
Specification
Not part of any specification.

