TargetNavigatorTrait.TargetUpdated

interface TargetNavigatorTrait.TargetUpdated : ClusterStruct


Generated when there is a change in either the active target or the list of available targets or both.

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

UByte?

Indicates the updated target that is in the foreground.

ByteArray?

Contains optional app-specific data.

List<TargetNavigatorTrait.TargetInfoStruct>?

Indicates the updated target list if there is a change in the list of targets.

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

currentTarget

val currentTarget: UByte?

Indicates the updated target that is in the foreground.

data

val data: ByteArray?

Contains optional app-specific data.

targetList

val targetList: List<TargetNavigatorTrait.TargetInfoStruct>?

Indicates the updated target list if there is a change in the list of targets.