public abstract class

NetworkQualityThroughputListener

extends Object
java.lang.Object
   ↳ org.chromium.net.NetworkQualityThroughputListener

Class Overview

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

Summary

Public Constructors
NetworkQualityThroughputListener(Executor executor)
Public Methods
Executor getExecutor()
abstract void onThroughputObservation(int throughputKbps, long whenMs, int source)
Reports a new throughput observation.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NetworkQualityThroughputListener (Executor executor)

Parameters
executor Executor: The executor on which the observations are reported.

Public Methods

public Executor getExecutor ()

Returns
Executor

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

Reports a new throughput observation.

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