LaundryWasherControls

interface LaundryWasherControls : LaundryWasherControlsTrait.Attributes, MatterTrait, Updatable


API for the LaundryWasherControls trait. This trait provides a way to access options associated with the operation of a laundry washer device type.

Summary

Nested types

Descriptor enum for this trait's attributes.

Public functions

Boolean

Public properties

open TraitFactory<LaundryWasherControls>

Inherited functions

From com.google.home.TraitStateInvalidation
suspend Unit
From com.google.home.Updatable
suspend LaundryWasherControls

Creates a mutable copy of an object and calls the given function to mutate it, then saves it and returns a new immutable copy with the updated state.

Inherited properties

From com.google.home.matter.standard.LaundryWasherControlsTrait.Attributes
List<UInt>

A list of client-generated commands which are supported by this cluster server instance.

List<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

UShort

The revision of the server cluster specification supported by the cluster instance.

LaundryWasherControlsTrait.Feature

Whether the server supports zero or more optional cluster features.

List<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

LaundryWasherControlsTrait.NumberOfRinsesEnum?

The number of times that a rinse cycle shall be performed on a device for the current mode of operation.

UByte?

The index of the currently selected spin speed.

List<String>?

The list of spin speeds available, as determined by the manufacturer, for the appliance in the currently selected mode.

List<LaundryWasherControlsTrait.NumberOfRinsesEnum>?

The number of rinses allowed for a specific mode.

From com.google.home.Trait

Public functions

supports

fun supports(attribute: LaundryWasherControls.Attribute): Boolean

Public properties