CameraTimelineTrait.TimelinePeriodsStream

class CameraTimelineTrait.TimelinePeriodsStream : ClusterStruct


The timeline period stream.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

Creates the TimelinePeriodsStream 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

List<CameraTimelineTrait.TimelinePeriodStruct>

The timeline periods.

CameraTimelineTrait.TimelineMode

The mode of the timeline data.

Public constructors

TimelinePeriodsStream

TimelinePeriodsStream(
    timelineMode: CameraTimelineTrait.TimelineMode = TimelineMode.Unspecified,
    periods: List<CameraTimelineTrait.TimelinePeriodStruct> = emptyList()
)

Creates the TimelinePeriodsStream 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

periods

val periodsList<CameraTimelineTrait.TimelinePeriodStruct>

The timeline periods.

timelineMode

val timelineModeCameraTimelineTrait.TimelineMode

The mode of the timeline data.