Stay organized with collections
Save and categorize content based on your preferences.
ResolveAnchorOnRooftopResult
Contains the result of a ResolveAnchorOnRooftopPromise
.
Summary
Properties
RooftopAnchorState
RooftopAnchorState RooftopAnchorState
Gets the RooftopAnchorState
associated with this result.
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\u003eResolveAnchorOnRooftopResult\u003c/code\u003e stores the outcome of a \u003ccode\u003eResolveAnchorOnRooftopPromise\u003c/code\u003e, indicating whether an anchor was successfully resolved on a rooftop.\u003c/p\u003e\n"],["\u003cp\u003eIt provides access to the \u003ccode\u003eARGeospatialAnchor\u003c/code\u003e if successfully resolved, which represents the anchor's location in the real world.\u003c/p\u003e\n"],["\u003cp\u003eThe result also includes a \u003ccode\u003eRooftopAnchorState\u003c/code\u003e indicating the success or failure of the anchor resolution process on the rooftop.\u003c/p\u003e\n"]]],[],null,["# ResolveAnchorOnRooftopResult Class Reference\n\nResolveAnchorOnRooftopResult\n============================\n\nContains the result of a [ResolveAnchorOnRooftopPromise](/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ResolveAnchorOnRooftopPromise#classGoogle_1_1XR_1_1ARCoreExtensions_1_1ResolveAnchorOnRooftopPromise).\n\nSummary\n-------\n\n| ### Properties ||\n|-------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Anchor](#anchor) | [ARGeospatialAnchor](/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARGeospatialAnchor#classGoogle_1_1XR_1_1ARCoreExtensions_1_1ARGeospatialAnchor) Gets the [ARGeospatialAnchor](/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARGeospatialAnchor#classGoogle_1_1XR_1_1ARCoreExtensions_1_1ARGeospatialAnchor) associated with this result. |\n| [RooftopAnchorState](#rooftopanchorstate) | [RooftopAnchorState](/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#rooftopanchorstate) Gets the `RooftopAnchorState` associated with this result. |\n\nProperties\n----------\n\n### Anchor\n\n```c#\nARGeospatialAnchor Anchor\n``` \nGets the [ARGeospatialAnchor](/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARGeospatialAnchor#classGoogle_1_1XR_1_1ARCoreExtensions_1_1ARGeospatialAnchor) associated with this result.\n\nMay be `null`. \n\n### RooftopAnchorState\n\n```c#\nRooftopAnchorState RooftopAnchorState\n``` \nGets the `RooftopAnchorState` associated with this result."]]