ArCoreApk.InstallBehavior
Controls the behavior of the installation UI.
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.InstallBehavior
OPTIONAL
OPTIONAL
public static final ArCoreApk.InstallBehavior OPTIONAL
Include Cancel button in initial prompt and allow easily backing out after installation has
been initiated.
public
static
final
ArCoreApk.InstallBehavior
REQUIRED
REQUIRED
public static final ArCoreApk.InstallBehavior REQUIRED
Hide the Cancel button during initial prompt and prevent user from exiting via tap-outside.
Note: The BACK button or tapping outside of any marketplace-provided install dialog will
still decline the installation.
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 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`GARSessionErrorCode` defines specific error codes for Google ARCore sessions on iOS."],["These error codes help developers diagnose and handle issues during AR experiences."],["Errors can indicate device incompatibility, invalid arguments, tracking problems, or resource limitations."],["Developers should consult the documentation for each error code to understand its cause and potential solutions."],["`GARSession` provides methods like `update:error:` and `hostCloudAnchor:error:` where these error codes might occur."]]],[]]