Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IDataTrafficStatistics

interface IDataTrafficStatistics
Extends com.amazon.apmf.IStandard Network traffic statistics. Provides a snapshot of cumulative network data traffic statistics including bytes and packets transmitted and received.

Methods

getTxBytes()

u64 getTxBytes()
Get total bytes transmitted.

Returns

u64 Cumulative transmitted byte.

getRxBytes()

u64 getRxBytes()
Get total bytes received.

Returns

u64 Cumulative received bytes.

getTxPackets()

u64 getTxPackets()
Get total packets transmitted.

Returns

u64 Cumulative transmitted packets.

getRxPackets()

u64 getRxPackets()
Get total packets received.

Returns

u64 Cumulative received packets.
Last modified on October 29, 2026