Class: $.BurstStatistics
- Inherits:
-
Toybox.Lang.Object
-
Toybox.Lang.Object
-
Overview
Keeps track of the number of successful / failed receptions and transmissions
Instance Member Summary collapse
- _rxFailCount as Lang.Number
- _rxSuccessCount as Lang.Number
- _txFailCount as Lang.Number
- _txSuccessCount as Lang.Number
Instance Method Summary collapse
-
getRxFailCount() as Lang.Number
Get the count of reception fails.
-
getRxSuccessCount() as Lang.Number
Get the count of reception successes.
-
getTxFailCount() as Lang.Number
Get the count of transmission fails.
-
getTxSuccessCount() as Lang.Number
Get the count of transmission successes.
-
initialize()
Constructor.
-
onRxFail() as Void
Update the count when a receive fails.
-
onRxSuccess() as Void
Update the count when a receive succeeds.
-
onTxFail() as Void
Update the count when a transmission fails.
-
onTxSuccess() as Void
Update the count when a transmission succeeds.
Instance Attribute Details
var _rxFailCount as Lang.Number
var _rxSuccessCount as Lang.Number
var _txFailCount as Lang.Number
var _txSuccessCount as Lang.Number
Instance Method Details
getRxFailCount() as Lang.Number
Get the count of reception fails
getRxSuccessCount() as Lang.Number
Get the count of reception successes
getTxFailCount() as Lang.Number
Get the count of transmission fails
getTxSuccessCount() as Lang.Number
Get the count of transmission successes
initialize()
Constructor
onRxFail() as Void
Update the count when a receive fails
onRxSuccess() as Void
Update the count when a receive succeeds
onTxFail() as Void
Update the count when a transmission fails
onTxSuccess() as Void
Update the count when a transmission succeeds