I need to check when the smartphone finds the surface. I try to do this:
arFragment.getArSceneView().getScene().addOnUpdateListener(frameTime -> { Fram