CameraTimelineTrait.NoVideoPeriodData

class CameraTimelineTrait.NoVideoPeriodData : ClusterStruct


Information about a period of time when no video was recorded.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

Creates the NoVideoPeriodData class.

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

OptionalValue<CameraTimelineTrait.CameraHistoryItem>

The camera history item.

CameraTimelineTrait.VideoUnavailableReason

The reason why the video is unavailable.

Public constructors

NoVideoPeriodData

NoVideoPeriodData(
    reason: CameraTimelineTrait.VideoUnavailableReason = VideoUnavailableReason.Unspecified,
    cameraHistoryItem: OptionalValue<CameraTimelineTrait.CameraHistoryItem> = OptionalValue.absent()
)

Creates the NoVideoPeriodData class.

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

cameraHistoryItem

val cameraHistoryItemOptionalValue<CameraTimelineTrait.CameraHistoryItem>

The camera history item.

reason

val reasonCameraTimelineTrait.VideoUnavailableReason

The reason why the video is unavailable.