Stay organized with collections
Save and categorize content based on your preferences.
GARTrackingState
Summary
Enumerations
GARTrackingState
GARTrackingState
Possible tracking states for trackable objects, including GARAnchor
.
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 2025-07-14 UTC.
[null,null,["Last updated 2025-07-14 UTC."],[[["\u003cp\u003e\u003ccode\u003eGARTrackingState\u003c/code\u003e defines the possible tracking states for trackable objects in ARCore, such as anchors.\u003c/p\u003e\n"],["\u003cp\u003eThese states include \u003ccode\u003eTracking\u003c/code\u003e, \u003ccode\u003ePaused\u003c/code\u003e, and \u003ccode\u003eStopped\u003c/code\u003e, indicating whether an object is actively tracked, temporarily paused, or permanently stopped.\u003c/p\u003e\n"],["\u003cp\u003eWhen tracking is paused, it may resume in the future, while objects in a stopped state will not resume tracking.\u003c/p\u003e\n"]]],["The core content defines the `GARTrackingState` enumeration, which represents the possible tracking states for trackable objects like `GARAnchor`. These states are: `GARTrackingStateTracking` (active tracking), `GARTrackingStatePaused` (tracking is paused but may resume), and `GARTrackingStateStopped` (tracking has stopped and will not resume). This enumeration is used to indicate the current tracking status of objects.\n"],null,["# GARTrackingState\n================\n\nSummary\n-------\n\n| ### Enumerations ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| [GARTrackingState](#gartrackingstate)`{` ` `[GARTrackingStateTracking](#gartrackingstatetracking)` = 0,` ` `[GARTrackingStatePaused](#gartrackingstatepaused)` = 1,` ` `[GARTrackingStateStopped](#gartrackingstatestopped)` = 2` `}` | enum Possible tracking states for trackable objects, including [GARAnchor](/ar/reference/ios/interface/GARAnchor#interface_g_a_r_anchor). |\n\nEnumerations\n------------\n\n### GARTrackingState\n\n```text\n GARTrackingState\n``` \nPossible tracking states for trackable objects, including [GARAnchor](/ar/reference/ios/interface/GARAnchor#interface_g_a_r_anchor).\n\n| Properties ||\n|--------------------------|--------------------------------------------------|\n| GARTrackingStatePaused | Tracking is paused but may resume in the future. |\n| GARTrackingStateStopped | Tracking has stopped and will not resume. |\n| GARTrackingStateTracking | Tracking is active. |"]]