CameraTimelineTrait.FaceInstance

class CameraTimelineTrait.FaceInstance : ClusterStruct


An instance of a face.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

FaceInstance(id: String, url: String)

Creates the FaceInstance 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 ID of the face instance.

String

The URL of the face instance.

Public constructors

FaceInstance

FaceInstance(id: String = "", url: String = "")

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

id

val idString

The ID of the face instance.

url

val urlString

The URL of the face instance.