RecordingMode

@Generated(value = ["GoogleHomePlatformCodegen"])
interface RecordingMode : RecordingModeTrait.Attributes, MatterTrait, Updatable


API for the RecordingMode trait. This trait supports devices that can record in different recording modes.

Summary

Nested types

Descriptor enum for this trait's attributes.

Public functions

Boolean

Public properties

open TraitFactory<RecordingMode>

Inherited functions

From com.google.home.google.RecordingModeTrait.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 RecordingMode
update(optimisticReturn: (RecordingMode) -> Unit, init: RecordingModeTrait.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.RecordingModeTrait.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.

List<UByte>?

List of all available recording modes.

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.

UByte?

The selected recording mode, which is user configurable.

List<RecordingModeTrait.RecordingModeStruct>?

All supported recording modes even if they are not currently available.

From com.google.home.Trait

Public functions

supports

fun supports(attribute: RecordingMode.Attribute): Boolean

Public properties

factory

open val factoryTraitFactory<RecordingMode>