Send feedback
ArCoreApk.InstallBehavior Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
ArCoreApk.InstallBehavior controls the behavior of the installation UI.
The OPTIONAL InstallBehavior includes a Cancel button in the initial prompt and allows easily backing out after installation has been initiated.
The REQUIRED InstallBehavior hides the Cancel button during the initial prompt and prevents the user from exiting via tap-outside.
Controls the behavior of the installation UI.
Inherited Methods
From class
java.lang.Enum
From class
java.lang.Object
From interface
java.lang.constant.Constable
abstract
Optional<? extends ConstantDesc>
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.
Send feedback
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.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[],[]]