Stay organized with collections
Save and categorize content based on your preferences.
ResolveAnchorOnRooftopPromise
An InterruptiblePromise
launched by ARAnchorManagerExtensions.ResolveAnchorOnRooftopAsync(this ARAnchorManager, double,
double, double, UnityEngine.Quaternion)
with result type ResolveAnchorOnRooftopResult
.
See InterruptiblePromise
for more information on how to retrieve results from the Promise, and the Rooftop anchors developer guide.
Summary
Inheritance
Inherits from:
InterruptiblePromise< ResolveAnchorOnRooftopResult >
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\u003eResolveAnchorOnRooftopPromise\u003c/code\u003e is an interruptible promise initiated by \u003ccode\u003eARAnchorManagerExtensions.ResolveAnchorOnRooftopAsync\u003c/code\u003e to resolve rooftop anchors in AR experiences.\u003c/p\u003e\n"],["\u003cp\u003eIt provides access to the result (\u003ccode\u003eResolveAnchorOnRooftopResult\u003c/code\u003e) and the current state (\u003ccode\u003ePromiseState\u003c/code\u003e) of the operation.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize \u003ccode\u003eResult\u003c/code\u003e to retrieve the outcome and \u003ccode\u003eState\u003c/code\u003e to monitor progress, and optionally cancel the operation using the \u003ccode\u003eCancel()\u003c/code\u003e function.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the provided links for further details on interruptible promises, resolving rooftop anchors, and using this class effectively.\u003c/p\u003e\n"]]],["The `ResolveAnchorOnRooftopPromise` is an `InterruptiblePromise` initiated by `ARAnchorManagerExtensions.ResolveAnchorOnRooftopAsync`. This promise, of type `ResolveAnchorOnRooftopResult`, can be used to get results. It has a `Result` property to access the outcome and a `State` property to check if it's still in progress. Users can also invoke the `Cancel()` function to halt the promise's execution if it's pending.\n"],null,["# ResolveAnchorOnRooftopPromise Class Reference\n\nResolveAnchorOnRooftopPromise\n=============================\n\nAn [InterruptiblePromise](/ar/reference/unity-arf/other) launched by [ARAnchorManagerExtensions.ResolveAnchorOnRooftopAsync(this ARAnchorManager, double,\ndouble, double, UnityEngine.Quaternion)](/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARAnchorManagerExtensions#resolveanchoronrooftopasync) with result type [ResolveAnchorOnRooftopResult](/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ResolveAnchorOnRooftopResult#classGoogle_1_1XR_1_1ARCoreExtensions_1_1ResolveAnchorOnRooftopResult).\n\nSee [InterruptiblePromise](/ar/reference/unity-arf/other) for more information on how to retrieve results from the Promise, and the [Rooftop anchors developer guide](https://developers.google.com/ar/develop/geospatial/unity-arf/anchors#rooftop-anchors).\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: `InterruptiblePromise\u003c ResolveAnchorOnRooftopResult \u003e`"]]