LaundryWasherModeTrait.ModeOptionStruct

class LaundryWasherModeTrait.ModeOptionStruct


Describes a mode that may be selected on the device.

Summary

Public constructors

ModeOptionStruct(
    label: String,
    mode: UByte,
    modeTags: List<LaundryWasherModeTrait.ModeTagStruct>
)

Creates the ModeOptionStruct class.

Public properties

String

Text that describes the mode option and is meant to be read and understood by the user.

UByte

A unique identifier for the mode option.

List<LaundryWasherModeTrait.ModeTagStruct>

A list of tags that are associated with the mode option, which may be used by a device to determine the semantics of a certain mode.

Public constructors

ModeOptionStruct

ModeOptionStruct(
    label: String = "",
    mode: UByte,
    modeTags: List<LaundryWasherModeTrait.ModeTagStruct> = emptyList()
)

Creates the ModeOptionStruct class.

Public properties

label

val labelString

Text that describes the mode option and is meant to be read and understood by the user.

mode

val modeUByte

A unique identifier for the mode option.

modeTags

val modeTagsList<LaundryWasherModeTrait.ModeTagStruct>

A list of tags that are associated with the mode option, which may be used by a device to determine the semantics of a certain mode.