NetworkQualityThroughputListener

public abstract class NetworkQualityThroughputListener extends Object

Listener that is notified of throughput observations from the network quality estimator.

Public Constructor Summary

Public Method Summary

Executor
abstract void
onThroughputObservation(int throughputKbps, long whenMs, int source)
Reports a new throughput observation.

Inherited Method Summary

Public Constructors

public NetworkQualityThroughputListener (Executor executor)

Parameters
executor The executor on which the observations are reported.

Public Methods

public Executor getExecutor ()

public abstract void onThroughputObservation (int throughputKbps, long whenMs, int source)

Reports a new throughput observation.

Parameters
throughputKbps the downstream throughput in kilobits per second.
whenMs milliseconds since the Epoch (January 1st 1970, 00:00:00.000).
source the observation source from NetworkQualityObservationSource.