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 captions: List<CameraHistoryTrait.Caption>?

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

endTimestampMillis

val endTimestampMillis: ULong?

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

eventTracks

val eventTracks: 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.

mediaUrl

val mediaUrl: CameraHistoryTrait.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 sessionId: String?

The ID of the session.

startTimestampMillis

val startTimestampMillis: ULong?

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