ConnectionClassManager

Deprecated

Class used to calculateViewPort the approximate bandwidth of a user's connection.

This class notifies all subscribed ConnectionClassStateChangeListener with the new ConnectionClass when the network's ConnectionClass changes.

Types

Link copied to clipboard
Interface for listening to when ConnectionClassManager changes state.

Functions

Link copied to clipboard
open fun addBandwidth(bytes: Long, timeInMs: Long)
Adds bandwidth to the current filtered latency counter.
Link copied to clipboard
Retrieval method for the DownloadBandwidthManager singleton.
Link copied to clipboard
Method for adding new listeners to this class.
Link copied to clipboard
open fun remove()
Method for removing listeners from this class.