public interface BandwidthMeter extends TransferListener
Modifier and Type | Interface and Description |
---|---|
static interface |
BandwidthMeter.EventListener
Interface definition for a callback to be notified of
BandwidthMeter events. |
Modifier and Type | Field and Description |
---|---|
static long |
NO_ESTIMATE
Indicates no bandwidth estimate is available.
|
Modifier and Type | Method and Description |
---|---|
long |
getBitrateEstimate()
Gets the estimated bandwidth, in bits/sec.
|
onBytesTransferred, onTransferEnd, onTransferStart
static final long NO_ESTIMATE
long getBitrateEstimate()
NO_ESTIMATE
if no estimate is available.