NetworkStatisticsEntry
Contains statistics about network usage.
The NetworkStatisticsEntryUnion
type represents one of the following types:
keyboard_arrow_upkeyboard_arrow_down
File
Call
NetworkStatisticsEntryFile
Contains information about the total amount of data that was used to send and receive files.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "networkStatisticsEntryFile" | |
fileType | Type of the file the data is part of; pass null if the data isn't related to files | |
networkType | Type of the network the data was sent through. Call setNetworkType to maintain the actual network type | |
sentBytes | number | Total number of bytes sent |
receivedBytes | number | Total number of bytes received |