CameraTimelineTrait.Zone

class CameraTimelineTrait.Zone : ClusterStruct


Defines a zone where the event occurred.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

Zone(zoneId: ULong, label: String)

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

String

The name of the zone where the event occurred.

ULong

The ID of the zone where the event occurred.

Public constructors

Zone

Zone(zoneId: ULong, label: String = "")

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

label

val labelString

The name of the zone where the event occurred.

zoneId

val zoneIdULong

The ID of the zone where the event occurred.