ArCoreApk.Availability
Stay organized with collections
Save and categorize content based on your preferences.
Describes the current state of ARCore availability on the device.
Inherited Methods
From class
java.lang.Enum
From class
java.lang.Object
Object
|
clone()
|
boolean
|
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
From interface
java.lang.constant.Constable
abstract
Optional<? extends ConstantDesc>
|
describeConstable()
|
From interface
java.lang.Comparable
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
)
public
static
final
Availability[]
values
()
values
public static final Availability[] values()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-06-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]