ThreadNetworkManagement

@Generated(value = ["GoogleHomePlatformCodegen"])
interface ThreadNetworkManagement : ThreadNetworkManagementTrait.Attributes, MatterTrait, ThreadNetworkManagementCommands


API for the ThreadNetworkManagement trait. This trait provides an interface for managing a Thread network.

Summary

Nested types

Descriptor enum for this trait's attributes.

Descriptor enum for this trait's commands.

Descriptor enum for this event's fields.

Public properties

open TraitFactory<ThreadNetworkManagement>

Inherited functions

From com.google.home.google.ThreadNetworkManagementCommands
suspend ThreadNetworkManagementTrait.ActivateEpskcModeCommand.Response

Request to activate ePSKc mode for Thread credential sharing.

BatchableCommand<ThreadNetworkManagementTrait.ActivateEpskcModeCommand.Response>

The batchable version of activateEpskcMode command.

suspend Unit

Request to immediately deactivate ePSKc mode.

BatchableCommand<Unit>

The batchable version of deactivateEpskcMode command.

suspend ThreadNetworkManagementTrait.JoinNetworkCommand.Response
joinNetwork(operationalDatasetTlvs: ByteArray)

Request to join a Thread network using the provided operational dataset.

BatchableCommand<ThreadNetworkManagementTrait.JoinNetworkCommand.Response>
joinNetworkBatchable(operationalDatasetTlvs: ByteArray)

The batchable version of joinNetwork command.

suspend Unit

Request to leave the current Thread network and factory reset the Thread stack.

BatchableCommand<Unit>

The batchable version of leaveNetwork command.

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

Inherited properties

From com.google.home.google.ThreadNetworkManagementTrait.Attributes
List<UInt>

A list of client-generated commands which are supported by this cluster server instance.

ThreadNetworkManagementTrait.NetworkInfo?

Represents the current active Thread network information.

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: ThreadNetworkManagement.Attribute): Boolean

supports

fun supports(command: ThreadNetworkManagement.Command): Boolean

Public properties