Google is committed to advancing racial equity for Black communities. See how.

ArCoreApk.Availability

public static enum ArCoreApk.Availability

Describes the current state of ARCore availability on the device.

Public Methods

boolean
isSupported()
True if this is one of the SUPPORTED_... values.
boolean
isTransient()
True if this state is temporary and the application should check again soon.
boolean
isUnknown()
True if this is one of the UNKNOWN_... values.
boolean
isUnsupported()
True if this is one of the UNSUPPORTED_... values.
static ArCoreApk.Availability
valueOf(String name)
final static Availability[]
values()

Inherited Methods

Enum Values

public static final ArCoreApk.Availability SUPPORTED_APK_TOO_OLD

The device and Android version are supported, and a version of the ARCore APK is installed, but that ARCore APK version is too old.

public static final ArCoreApk.Availability SUPPORTED_INSTALLED

ARCore is supported, installed, and available to use.

public static final ArCoreApk.Availability SUPPORTED_NOT_INSTALLED

The device and Android version are supported, but the ARCore APK is not installed.

public static final ArCoreApk.Availability UNKNOWN_CHECKING

ARCore is not installed, and a query has been issued to check if ARCore is is supported.

public static final ArCoreApk.Availability UNKNOWN_ERROR

An internal error occurred while determining ARCore availability. Check logcat for more details.

public static final ArCoreApk.Availability UNKNOWN_TIMED_OUT

ARCore is not installed, and the query to check if ARCore is supported timed out. This may be due to the device being offline.

public static final ArCoreApk.Availability UNSUPPORTED_DEVICE_NOT_CAPABLE

ARCore is not supported on this device.

Public Methods

public boolean isSupported ()

True if this is one of the SUPPORTED_... values.

public boolean isTransient ()

True if this state is temporary and the application should check again soon.

public boolean isUnknown ()

True if this is one of the UNKNOWN_... values.

public boolean isUnsupported ()

True if this is one of the UNSUPPORTED_... values.

public static ArCoreApk.Availability valueOf (String name)

Parameters
name

public static final Availability[] values ()