Page Summary
-
UnavailableException and its subclasses are thrown when ARCore is not available on a device.
-
Specific subclasses indicate different reasons for unavailability, such as the ARCore APK being too old or not installed, the device being incompatible, the SDK being too old, or the user declining installation.
-
The UnavailableException class has two public constructors, one with no arguments and one that accepts a String message.
-
This class inherits methods from
java.lang.Throwableandjava.lang.Object.
public class UnavailableException
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. |
UnavailableSdkTooOldException
|
Thrown when the ARCore SDK that this application was built with is too old for the installed ARCore APK. |
UnavailableUserDeclinedInstallationException
|
Thrown when ArCoreApk.requestInstall(Activity, boolean)
is called after the user had
previously cancelled installation. |
Subclasses of this exception are thrown when ARCore is not available.
Public Constructors
|
|
|
UnavailableException
( String
message)
|
Inherited Methods
Public Constructors
public UnavailableException ()
UnavailableException
public UnavailableException ()
public UnavailableException ( String message)
UnavailableException
public UnavailableException ( String message )
message

