Trackable


public interface Trackable<State extends Object>

Known direct subclasses
Anchorable

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

AugmentedObject

A representation of a physical object in real space.

Eye

A representation of a user's eye.

Hand

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

Known indirect subclasses
Face

Contains the tracking information of a detected human face.

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

public interface Trackable.State

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

Public methods

abstract @NonNull StateFlow<@NonNull Trackable.State>

Emits the current state of this trackable.

Public methods

getState

Added in 1.0.0-alpha12
abstract @NonNull StateFlow<@NonNull Trackable.StategetState()

Emits the current state of this trackable.