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

SUPPORTED_APK_TOO_OLD

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.

SUPPORTED_INSTALLED

public static final ArCoreApk.Availability SUPPORTED_INSTALLED

ARCore is supported, installed, and available to use.

SUPPORTED_NOT_INSTALLED

public static final ArCoreApk.Availability SUPPORTED_NOT_INSTALLED

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

UNKNOWN_CHECKING

public static final ArCoreApk.Availability UNKNOWN_CHECKING

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

UNKNOWN_ERROR

public static final ArCoreApk.Availability UNKNOWN_ERROR

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

UNKNOWN_TIMED_OUT

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.

UNSUPPORTED_DEVICE_NOT_CAPABLE

public static final ArCoreApk.Availability UNSUPPORTED_DEVICE_NOT_CAPABLE

ARCore is not supported on this device.

Public Methods

isSupported

public boolean isSupported()

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

isTransient

public boolean isTransient()

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

isUnknown

public boolean isUnknown()

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

isUnsupported

public boolean isUnsupported()

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

valueOf

public static ArCoreApk.Availability valueOf(
  String name
)

Details
Parameters
name

values

public static final Availability[] values()