CameraHistoryTrait.HistoryItem

interface CameraHistoryTrait.HistoryItem : ClusterStruct


Represents a single event session recorded by the camera, with comprehensive details about the session.

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

List<CameraHistoryTrait.Caption>?

Captions for the session, where the values come from Caption.

ULong?

The end time of the session in milliseconds since the Unix epoch.

List<CameraHistoryTrait.EventTrack>?

Specific events detected within the session, (such as motion, person, or face detection), including their timestamps and associated zone, where the values come from EventTrack.

CameraHistoryTrait.MediaUrl?

Various URLs for accessing media related to the session (preview, thumbnail, MP4 download, DASH/HLS manifests), where the values come from MediaUrl.

String?

The ID of the session.

CameraHistoryTrait.SessionState?
ULong?

The start time of the session in milliseconds since the Unix epoch.

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

captions

val captionsList<CameraHistoryTrait.Caption>?

Captions for the session, where the values come from Caption.

endTimestampMillis

val endTimestampMillisULong?

The end time of the session in milliseconds since the Unix epoch.

eventTracks

val eventTracksList<CameraHistoryTrait.EventTrack>?

Specific events detected within the session, (such as motion, person, or face detection), including their timestamps and associated zone, where the values come from EventTrack.

mediaUrl

val mediaUrlCameraHistoryTrait.MediaUrl?

Various URLs for accessing media related to the session (preview, thumbnail, MP4 download, DASH/HLS manifests), where the values come from MediaUrl.

sessionId

val sessionIdString?

The ID of the session.

startTimestampMillis

val startTimestampMillisULong?

The start time of the session in milliseconds since the Unix epoch.