Clip

interface Clip : ClipTrait.Attributes, MatterTrait, ClipCommands


API for the Clip trait. This trait supports devices that have the capability to save a video clip or to take a screenshot.

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<Clip>

Inherited properties

From com.google.home.google.ClipTrait.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.

Boolean?

Device can save a video clip.

Boolean?

Device can take a screenshot.

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.

ULong?

Maximum duration, in seconds, for a clip.

Boolean?

User can specify a length for the clip they want to save.

From com.google.home.Trait

Public functions

supports

fun supports(attribute: Clip.Attribute): Boolean

supports

fun supports(command: Clip.Command): Boolean

Public properties

factory

open val factoryTraitFactory<Clip>