ContentLauncher

interface ContentLauncher : ContentLauncherTrait.Attributes, MatterTrait, ContentLauncherCommands


API for the ContentLauncher trait. This trait provides an interface for launching content 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<ContentLauncher>

Inherited properties

From com.google.home.matter.standard.ContentLauncherTrait.Attributes
List<String>?

A list of content types supported by the video player or content app in the form of a list of one or more MIME types.

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.

ContentLauncherTrait.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.

ContentLauncherTrait.SupportedProtocolsBitmap?

Information about supported streaming protocols.

From com.google.home.Trait

Public functions

supports

fun supports(attribute: ContentLauncher.Attribute): Boolean

supports

fun supports(command: ContentLauncher.Command): Boolean

Public properties

factory

open val factoryTraitFactory<ContentLauncher>