com.google.ar.core.exceptions

ARCore exceptions.

Exceptions

CameraNotAvailableException Camera is not available during resume() or at runtime during update()
DeadlineExceededException Acquire failed because the object being acquired is already released. 
FatalException Thrown when ARCore experiences a non-recoverable internal error. 
MissingGlContextException Thrown when an operation requires GL context (unchecked). 
NotTrackingException Thrown if an operation requires the AR system to be TRACKING (checked). 
NotYetAvailableException Acquire failed because the object being acquired is not yet available. 
ResourceExhaustedException Acquire failed because there are too many objects already acquired. 
SessionNotPausedException Thrown if an operation requires ARCore to be stopped (unchecked). 
SessionPausedException Thrown if an operation requires ARCore to be running (unchecked). 
TextureNotSetException Thrown if a texture name was not set by calling setCameraTextureName(int) before the first call to update() (unchecked). 
UnavailableApkTooOldException Thrown when the installed ARCore APK is too old for the ARCore SDK that this application was compiled using. 
UnavailableArcoreNotInstalledException Thrown when the ARCore APK is not installed on this device. 
UnavailableDeviceNotCompatibleException Thrown when the device is not currently compatible with ARCore. 
UnavailableException Subclasses of this exception are thrown when ARCore is not available. 
UnavailableSdkTooOldException Thrown when the ARCore SDK that this application was built with is too old for the installed ARCore APK. 
UnavailableUserDeclinedInstallationException Thrown when requestInstall is called after the user had previously cancelled installation. 
UnsupportedConfigurationException Thrown if the configuration supplied to configure(Config) is unsupported (unchecked). 

Send feedback about...