NetworkControlTrait.LastNetworkDownloadSpeedTest

class NetworkControlTrait.LastNetworkDownloadSpeedTest


Results of the most recent network-download speed test.

Summary

Public constructors

LastNetworkDownloadSpeedTest(
    downloadSpeedMbps: Float,
    unixTimestampSeconds: Long,
    status: NetworkControlTrait.SpeedTestStatus
)

Creates the LastNetworkDownloadSpeedTest class.

Public properties

Float

The download speed in megabits per second of the most recent network speed test.

NetworkControlTrait.SpeedTestStatus

Whether the most recent network-download speed test succeeded or failed.

Long

The Unix Epoch timestamp of when the most recent network-download speed test was run.

Public constructors

LastNetworkDownloadSpeedTest

LastNetworkDownloadSpeedTest(
    downloadSpeedMbps: Float = 0.0f,
    unixTimestampSeconds: Long = 0,
    status: NetworkControlTrait.SpeedTestStatus = SpeedTestStatus.Unspecified
)

Creates the LastNetworkDownloadSpeedTest class.

Public properties

downloadSpeedMbps

val downloadSpeedMbpsFloat

The download speed in megabits per second of the most recent network speed test.

status

val statusNetworkControlTrait.SpeedTestStatus

Whether the most recent network-download speed test succeeded or failed.

unixTimestampSeconds

val unixTimestampSecondsLong

The Unix Epoch timestamp of when the most recent network-download speed test was run.