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
|
|
final
static
Availability[]
|
values()
|
Inherited Methods
Enum Values
public static final ArCoreApk.Availability SUPPORTED_APK_TOO_OLD
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.
public static final ArCoreApk.Availability SUPPORTED_INSTALLED
SUPPORTED_INSTALLED
public static final ArCoreApk.Availability SUPPORTED_INSTALLED
ARCore is supported, installed, and available to use.
public static final ArCoreApk.Availability SUPPORTED_NOT_INSTALLED
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.
public static final ArCoreApk.Availability UNKNOWN_CHECKING
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.
public static final ArCoreApk.Availability UNKNOWN_ERROR
UNKNOWN_ERROR
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
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.
public static final ArCoreApk.Availability UNSUPPORTED_DEVICE_NOT_CAPABLE
UNSUPPORTED_DEVICE_NOT_CAPABLE
public static final ArCoreApk.Availability UNSUPPORTED_DEVICE_NOT_CAPABLE
ARCore is not supported on this device.
Public Methods
public boolean isSupported ()
isSupported
public boolean isSupported()
True if this is one of the SUPPORTED_...
values.
public boolean isTransient ()
isTransient
public boolean isTransient()
True if this state is temporary and the application should check again soon.
public boolean isUnknown ()
isUnknown
public boolean isUnknown()
True if this is one of the UNKNOWN_...
values.
public boolean isUnsupported ()
isUnsupported
public boolean isUnsupported()
True if this is one of the UNSUPPORTED_...
values.
public static ArCoreApk.Availability valueOf (String name)
valueOf
public static ArCoreApk.Availability valueOf( String name )
Details | |||
---|---|---|---|
Parameters |
|
public static final Availability[] values ()
values
public static final Availability[] values()