Azure-docs: Clarification needed on saving anchors to the cloud

Created on 8 Aug 2019  Â·  3Comments  Â·  Source: MicrosoftDocs/azure-docs

I have followed this entire document for creating local and shared anchors, and as I understood, the createAnchorAsync method of CloudSpatialAnchorSession class is responsible for saving the anchors to the Azure cloud.

In the sample Android application, when I tried to save anchors in either 'Basic' or 'Nearby' mode (Button names), my anchors were not being stored on the cloud, while in case of 'Shared' they all got stored on the cloud as well as on the .Net sharing service database.

While searching for the reason for above mentioned incident, the only difference I found between the codes of AzureSpatialAnchorsActivity and SharedActivity classes is that in the AzureSpatialAnchorsActivity class, each anchors is assigned an expiry date, while in the SharedActivity class, it's not. Is that the reason why the anchors are not being stored on Azure cloud in the former case? Please clarify.

[Enter feedback here]


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 azure-spatial-anchorsvc cxp product-question triaged

All 3 comments

I believe I had delays in the azure cloud appearance, otherwise I don't see that problem. Sorry for inconvenience.

@maulik1shah So it's all good now ^^? Are we safe to close?

Yes, please.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jharbieh picture jharbieh  Â·  3Comments

monteledwards picture monteledwards  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments

Favna picture Favna  Â·  3Comments

bdcoder2 picture bdcoder2  Â·  3Comments