Trackable


interface Trackable<State : Any?>

Known direct subclasses
Anchorable

An object that ARCore for Jetpack XR can track and that an Anchor can be attached to.

Anchor

An anchor describes a fixed location and orientation in the real world.

ArDevice

Contains the information of the device that locates it with respect to the real world.

AugmentedImage

Describes the system's current best knowledge of a real-world image

AugmentedObject

A representation of a physical object in real space.

Eye

A representation of a user's eye.

Face

Contains the tracking information of a detected human face.

Hand

Contains the tracking information of one of the user's hands.

QrCode

Describes the current best knowledge of a real-world QR code

Known indirect subclasses
Plane

Describes the system's current best knowledge of a real-world planar surface.


An object that ARCore for Jetpack XR can track.

Summary

Nested types

interface Trackable.State

The subset of data that is common to the state of all Trackable instances.

Public properties

StateFlow<Trackable.State>

Emits the current state of this trackable.

Public properties

state

Added in 1.0.0-alpha15
val stateStateFlow<Trackable.State>

Emits the current state of this trackable.