ContentAppObserver

interface ContentAppObserver : ContentAppObserverTrait.Attributes, MatterTrait, ContentAppObserverCommands


API for the ContentAppObserver trait. This trait provides an interface for sending targeted commands to an Observer of a content app on a Video Player device such as a Streaming Media Player, Smart TV, or Smart Screen.

Summary

Nested types

Descriptor enum for this trait's attributes.

Descriptor enum for this trait's commands.

Public properties

open TraitFactory<ContentAppObserver>

Inherited properties

From com.google.home.matter.standard.ContentAppObserverTrait.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.

From com.google.home.Trait

Public functions

supports

fun supports(attribute: ContentAppObserver.Attribute): Boolean

supports

fun supports(command: ContentAppObserver.Command): Boolean

Public properties

factory

open val factoryTraitFactory<ContentAppObserver>