How can I share Azure Spatial Anchors between devices?

António Sérgio Azevedo 7,661 Reputation points Microsoft Employee
2020-05-16T00:01:55.623+00:00

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 Spatial Anchors
Azure Spatial Anchors
An Azure service that is used to build immersive three-dimensional applications and experiences that map, persist, and restore content or points of interest at real-world scale.
86 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,875 questions
0 comments No comments
{count} votes

Accepted answer
  1. Mike Ubezzi 2,776 Reputation points
    2020-05-16T00:06:01.807+00:00

    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

    0 comments No comments

0 additional answers

Sort by: Most helpful