NetworkControlTrait.LastNetworkUploadSpeedTest

class NetworkControlTrait.LastNetworkUploadSpeedTest


The results of the most recent network-upload speed test.

Summary

Public constructors

LastNetworkUploadSpeedTest(
    unixTimestampSeconds: Long,
    uploadSpeedMbps: Float,
    status: NetworkControlTrait.SpeedTestStatus
)

Creates the LastNetworkUploadSpeedTest class.

Public properties

NetworkControlTrait.SpeedTestStatus

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

Long

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

Float

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

Public constructors

LastNetworkUploadSpeedTest

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

Creates the LastNetworkUploadSpeedTest class.

Public properties

status

val statusNetworkControlTrait.SpeedTestStatus

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

unixTimestampSeconds

val unixTimestampSecondsLong

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

uploadSpeedMbps

val uploadSpeedMbpsFloat

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