MotionDetectionTrait.Attributes

@Generated(value = ["GoogleHomePlatformCodegen"])
interface MotionDetectionTrait.Attributes

Known direct subclasses
MotionDetection

API for the MotionDetection trait.


Attributes for the MotionDetection cluster.

Summary

Public properties

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.

UShort

The revision of the server cluster specification supported by the cluster instance.

MotionDetectionTrait.MotionDetectionFeature

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.

Long?

The Unix Epoch timestamp in seconds at which a motion event last ended, which occurs when the MotionDetectionTrait.Feature.supportsMotionDetectionEventInProgress feature flag becomes false.

Long?

The Unix Epoch timestamp in seconds at which a motion event last started, which occurs when the MotionDetectionTrait.Feature.supportsMotionDetectionEventInProgress feature flag becomes true.

Boolean?

Whether or not a motion detection event is in progress.

Long?

The Unix Epoch timestamp in seconds at which motion was last detected.

Public properties

acceptedCommandList

val acceptedCommandListList<UInt>

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

attributeList

val attributeListList<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

clusterRevision

val clusterRevisionUShort

The revision of the server cluster specification supported by the cluster instance.

featureMap

val featureMapMotionDetectionTrait.MotionDetectionFeature

Whether the server supports zero or more optional cluster features. A cluster feature is a set of cluster elements that are mandatory or optional for a defined feature of the cluster. If a cluster feature is supported by the cluster instance, then the corresponding bit is set to 1, otherwise the bit is set to 0 (zero).

generatedCommandList

val generatedCommandListList<UInt>

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

lastMotionDetectionEventEndTimestampSeconds

val lastMotionDetectionEventEndTimestampSecondsLong?

The Unix Epoch timestamp in seconds at which a motion event last ended, which occurs when the MotionDetectionTrait.Feature.supportsMotionDetectionEventInProgress feature flag becomes false. A value of -1 for this attribute indicates that either motion has not yet been detected or no timestamp is available.

Access type: Read

lastMotionDetectionEventStartTimestampSeconds

val lastMotionDetectionEventStartTimestampSecondsLong?

The Unix Epoch timestamp in seconds at which a motion event last started, which occurs when the MotionDetectionTrait.Feature.supportsMotionDetectionEventInProgress feature flag becomes true. A value of -1 for this attribute indicates that either motion has not yet been detected or no timestamp is available.

Access type: Read

motionDetectionEventInProgress

val motionDetectionEventInProgressBoolean?

Whether or not a motion detection event is in progress. This attribute is returned if the MotionDetectionTrait.Feature.supportsMotionDetectionEventInProgress feature flag is set.

Access type: Read

motionDetectionTimestampSeconds

val motionDetectionTimestampSecondsLong?

The Unix Epoch timestamp in seconds at which motion was last detected. This attribute is returned if the MotionDetectionTrait.Feature.supportsMotionDetectionTimestampSeconds feature flag is set. A value of -1 for this attribute indicates that either no motion has been detected or no timestamp is available.

Access type: Read