Stay organized with collections
Save and categorize content based on your preferences.
HostCloudAnchorPromise
An InterruptiblePromise
launched by ARAnchorManagerExtensions.HostCloudAnchorAsync(this ARAnchorManager, ARAnchor,
int)
with result type HostCloudAnchorResult
.
See InterruptiblePromise
for more information on how to retrieve results from the Promise, and the Cloud Anchors developer guide.
Summary
Inheritance
Inherits from:
InterruptiblePromise< HostCloudAnchorResult >
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\u003eHostCloudAnchorPromise\u003c/code\u003e is an \u003ccode\u003eInterruptiblePromise\u003c/code\u003e initiated by \u003ccode\u003eARAnchorManagerExtensions.HostCloudAnchorAsync\u003c/code\u003e to host a Cloud Anchor, returning a \u003ccode\u003eHostCloudAnchorResult\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides access to the result (\u003ccode\u003eResult\u003c/code\u003e) and the current state (\u003ccode\u003eState\u003c/code\u003e) of the hosting operation.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the \u003ccode\u003eCancel()\u003c/code\u003e function to halt the hosting process if it's still ongoing.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the \u003ccode\u003eInterruptiblePromise\u003c/code\u003e documentation for result retrieval and the Cloud Anchors developer guide for further details.\u003c/p\u003e\n"]]],[],null,["# HostCloudAnchorPromise Class Reference\n\nHostCloudAnchorPromise\n======================\n\nAn [InterruptiblePromise](/ar/reference/unity-arf/other) launched by [ARAnchorManagerExtensions.HostCloudAnchorAsync(this ARAnchorManager, ARAnchor,\nint)](/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARAnchorManagerExtensions#hostcloudanchorasync) with result type [HostCloudAnchorResult](/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/HostCloudAnchorResult#classGoogle_1_1XR_1_1ARCoreExtensions_1_1HostCloudAnchorResult).\n\nSee [InterruptiblePromise](/ar/reference/unity-arf/other) for more information on how to retrieve results from the Promise, and the [Cloud Anchors developer guide](https://developers.google.com/ar/develop/unity-arf/cloud-anchors/developer-guide).\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: `InterruptiblePromise\u003c HostCloudAnchorResult \u003e`"]]