Interface NetworkStatisticsEntryFile

Contains statistics about network usage. Subtype of NetworkStatisticsEntry.

interface NetworkStatisticsEntryFile {
    @type: "networkStatisticsEntryFile";
    file_type: FileType;
    network_type: NetworkType;
    received_bytes: number;
    sent_bytes: number;
}

Properties

@type: "networkStatisticsEntryFile"
file_type: FileType

Type of the file the data is part of; pass null if the data isn't related to files.

network_type: NetworkType

Type of the network the data was sent through. Call setNetworkType to maintain the actual network type.

received_bytes: number

Total number of bytes received.

sent_bytes: number

Total number of bytes sent.