ChimeThemes

@Generated(value = ["GoogleHomePlatformCodegen"])
interface ChimeThemes : ChimeThemesTrait.Attributes, MatterTrait, Updatable, ChimeThemesCommands


API for the ChimeThemes trait. This trait provides an interface for changing the chime themes on a device.

Summary

Nested types

Descriptor enum for this trait's attributes.

Descriptor enum for this trait's commands.

Public functions

Boolean
Boolean

Public properties

open TraitFactory<ChimeThemes>

Inherited functions

From com.google.home.google.ChimeThemesCommands
From com.google.home.google.ChimeThemesTrait.Attributes
open StructDescriptor

Returns the descriptor for the struct.

open Any?

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

From com.google.home.TraitStateInvalidation
suspend Unit
From com.google.home.Updatable
suspend ChimeThemes
update(optimisticReturn: (ChimeThemes) -> Unit, init: ChimeThemesTrait.MutableAttributes.() -> Unit)

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.google.ChimeThemesTrait.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.

UInt

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.

String?

The current timeboxed theme name.

From com.google.home.Trait

Public functions

supports

fun supports(attribute: ChimeThemes.Attribute): Boolean

supports

fun supports(command: ChimeThemes.Command): Boolean

Public properties

factory

open val factoryTraitFactory<ChimeThemes>