ExtendedFanControlTrait.Speed

class ExtendedFanControlTrait.Speed : ClusterStruct


A named speed setting.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

Speed(
    speedName: String,
    speedValues: List<ExtendedFanControlTrait.SpeedValues>
)

Creates the Speed class.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

String

The name of the speed setting.

List<ExtendedFanControlTrait.SpeedValues>

Synonyms for the speed setting in each supported language.

Public constructors

Speed

Speed(
    speedName: String = "",
    speedValues: List<ExtendedFanControlTrait.SpeedValues> = emptyList()
)

Creates the Speed class.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

speedName

val speedNameString

The name of the speed setting.

speedValues

val speedValuesList<ExtendedFanControlTrait.SpeedValues>

Synonyms for the speed setting in each supported language.