Example #1
0
    private void CloudManager_LocateAnchorsCompleted(object sender, Microsoft.Azure.SpatialAnchors.LocateAnchorsCompletedEventArgs args)
    {
        Log(nameof(CloudManager_LocateAnchorsCompleted));

        //Forward the event to the FinAnchor section
        ReportAllAnchorLocationResultsReceived(args);
    }
Example #2
0
 /// <summary>
 /// The watcher created in <see cref="FindSpatialAnchor(string)"/> invokes this event once after all requested achors are processed
 /// </summary>
 /// <param name="args"></param>
 private void ReportAllAnchorLocationResultsReceived(Microsoft.Azure.SpatialAnchors.LocateAnchorsCompletedEventArgs args)
 {
     Log("Received all requested anchors. Stopping the watcher.", true);
     args.Watcher.Stop();
 }