ExtendedFanControlTrait.AvailableFanSpeeds

class ExtendedFanControlTrait.AvailableFanSpeeds


The speed settings supported by the device.

Summary

Public constructors

AvailableFanSpeeds(
    ordered: Boolean,
    speeds: List<ExtendedFanControlTrait.Speed>
)

Creates the AvailableFanSpeeds class.

Public properties

Boolean

Indicates that the speeds list is in ascending speed order.

List<ExtendedFanControlTrait.Speed>

List of speed settings.

Public constructors

AvailableFanSpeeds

AvailableFanSpeeds(
    ordered: Boolean = false,
    speeds: List<ExtendedFanControlTrait.Speed> = emptyList()
)

Creates the AvailableFanSpeeds class.

Public properties

ordered

val orderedBoolean

Indicates that the speeds list is in ascending speed order.

speeds

val speedsList<ExtendedFanControlTrait.Speed>

List of speed settings.