TrackingState
Describes the tracking state of the Trackable.
Inherited Methods
From class
java.lang.Enum
final
Object
|
clone()
|
final
int
|
|
int
|
|
final
Optional<EnumDesc<TrackingState>>
|
describeConstable()
|
final
boolean
|
|
final
void
|
finalize()
|
final
Class<TrackingState>
|
getDeclaringClass()
|
final
int
|
hashCode()
|
final
String
|
name()
|
final
int
|
ordinal()
|
String
|
toString()
|
static
<T extends Enum<T>>
T
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
From interface
java.lang.constant.Constable
abstract
Optional<? extends ConstantDesc>
|
describeConstable()
|
From interface
java.lang.Comparable
Enum Values
public
static
final
TrackingState
PAUSED
PAUSED
public static final TrackingState PAUSED
ARCore has paused tracking this instance, but may resume tracking it in the future. This can
happen if device tracking is lost, or if the user enters a new space, or if the Session is
currently paused. When in this state the properties of the instance may be wildly inaccurate
and should generally not be used.
public
static
final
TrackingState
STOPPED
STOPPED
public static final TrackingState STOPPED
ARCore has stopped tracking this Trackable and will never resume tracking it.
public
static
final
TrackingState
TRACKING
TRACKING
public static final TrackingState TRACKING
The Trackable is currently tracked and its pose is current.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`TrackingState` is an enum in ARCore that describes the tracking status of a Trackable."],["The three possible states are: `PAUSED`, `STOPPED`, and `TRACKING`."],["`TRACKING` indicates the Trackable's pose is current and actively tracked."],["`PAUSED` means tracking is temporarily halted and properties might be inaccurate."],["`STOPPED` signifies that ARCore has permanently ceased tracking the Trackable."]]],["The `TrackingState` enum describes the tracking status of a `Trackable` object. Key states include: `PAUSED`, where tracking is temporarily halted but may resume, with properties potentially inaccurate; `STOPPED`, indicating that tracking has permanently ceased; and `TRACKING`, where the object is actively tracked, and its pose is current. It includes inherited methods like `compareTo`, `equals`, `hashCode`, and `toString` from `java.lang.Enum` and `java.lang.Object`, which can be used to interact with the enum values.\n"]]