MountTrait.Feature

data class MountTrait.Feature


Mount cluster FeatureMap.

Summary

Public constructors

Feature(
    mountStateChangeEventSupported: Boolean,
    deviceMovedEventSupported: Boolean
)

Creates the Feature data class.

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

Boolean

Device supports generating events when it detects movement while mounted.

Boolean

Device supports generating events when the physical mount state changes.

Public constructors

Feature

Feature(
    mountStateChangeEventSupported: Boolean = false,
    deviceMovedEventSupported: Boolean = false
)

Creates the Feature data class.

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

deviceMovedEventSupported

val deviceMovedEventSupportedBoolean

Device supports generating events when it detects movement while mounted.

mountStateChangeEventSupported

val mountStateChangeEventSupportedBoolean

Device supports generating events when the physical mount state changes.