code: synchronized void updateCloudAnchors(Collection<Anchor> updatedAnchors) {
          for (Anchor anchor : updatedAnchors) {
              if (pendingAnchors.containsKey(anchor)) {
                  Anchor.CloudAnchorState cloudState = anchor.getCloudAnchorState();
                  if (isReturnableState(cloudState)) {
                      CloudAnchorCallback cb = pendingAnchors.get(anchor);
                      pendingAnchors.remove(anchor);
                      GVRAnchor newAnchor = mArCoreHelper.createAnchor(anchor, AR2VR_SCALE);
                      cb.onCloudUpdate(newAnchor);
                  }
              }
          }
      }
docs: Should be called with the updated anchors available after a {@link Session#update()} call.