NetworkControlTrait.NetworkProfileState

class NetworkControlTrait.NetworkProfileState : ClusterStruct


The state of one of the network profiles.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

NetworkProfileState(networkProfileName: String, enabled: Boolean)

Creates the NetworkProfileState class.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

Boolean

Network profile state.

String

Network profile name.

Public constructors

NetworkProfileState

NetworkProfileState(networkProfileName: String = "", enabled: Boolean = false)

Creates the NetworkProfileState class.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

enabled

val enabledBoolean

Network profile state.

networkProfileName

val networkProfileNameString

Network profile name.