question

asergaz avatar image
asergaz asked ·

How can I share Azure Spatial Anchors between devices?

I would like to be able to locate Azure Spatial Anchors that I’ve created, on multiple devices. How can I do that?

[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question] source: Azure Docs


azure-webappsazure-spatial-anchors
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Mike-Ubezzi-MSFT avatar image
Mike-Ubezzi-MSFT answered ·

To share Azure Spatial Anchors across sessions and devices, you will want to store your shared cloud anchor identifiers in your back-end service. Those identifiers can then be used to locate shared anchors from any device that can successfully authenticate to your service.

For shorter-term storage, cloud spatial anchor identifiers can be stored in-memory of your back-end service. The duration of time for which anchors will be stored in memory will depend on how your back-end service is set up.

For longer-term storage, you can improve your back-end service so that it uses Azure Cosmos DB (or a back-end storage solution of your choice) to persist the storage of your shared cloud anchor identifiers. Adding Azure Cosmos DB support will allow you to create an anchor today, and come back days later to be able to locate it again, by using the cloud anchor identifier stored in your service. 

Source: Azure Docs


Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.