updateOrNull
Updates the state of the ARCore system. This includes: receiving a new camera frame, updating the location of the device, updating the location of tracking anchors, updating detected planes, etc.
This call may update the pose of all created anchors and detected planes. The set of updated objects is accessible through Frame.getUpdatedTrackables.
Return
The most recent Frame received
Throws
CameraNotAvailableException
if the camera could not be opened.
SessionPausedException
if the session is currently paused.
MissingGlContextException
if there is no OpenGL context available.