CameraHistoryTrait.EventTrack

class CameraHistoryTrait.EventTrack : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

EventTrack(
    trackId: String,
    startTimestampMillis: ULong,
    endTimestampMillis: ULong,
    eventTypes: List<CameraHistoryTrait.EventType>,
    zones: List<CameraHistoryTrait.Zone>,
    face: CameraHistoryTrait.Face
)

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

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

Public constructors

EventTrack

EventTrack(
    trackId: String = "",
    startTimestampMillis: ULong,
    endTimestampMillis: ULong,
    eventTypes: List<CameraHistoryTrait.EventType> = emptyList(),
    zones: List<CameraHistoryTrait.Zone> = emptyList(),
    face: CameraHistoryTrait.Face = Face()
)

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

endTimestampMillis

val endTimestampMillisULong

startTimestampMillis

val startTimestampMillisULong

trackId

val trackIdString