MountTrait.MountStateChangeEvent

interface MountTrait.MountStateChangeEvent : ClusterStruct


Generated when the device detects a change in its physical attachment state.

Summary

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

MountTrait.MountDetectionTypeEnum?

The method or mechanism used to detect and determine the current mount state.

MountTrait.MountStateEnum?

The physical-attachment state of the device to the mount.

String?

Name of the detected mount type.

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

mountDetectionType

val mountDetectionTypeMountTrait.MountDetectionTypeEnum?

The method or mechanism used to detect and determine the current mount state. Valid values are defined in MountDetectionTypeEnum.

mountState

val mountStateMountTrait.MountStateEnum?

The physical-attachment state of the device to the mount. Valid values are defined in MountStateEnum.

mountTypeName

val mountTypeNameString?

Name of the detected mount type.