AI-generated Key Takeaways
-
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 likeupdate:error:
andhostCloudAnchor:error:
where these error codes might occur.
public static final enum
ArCoreApk.InstallBehavior
Controls the behavior of the installation UI.
Inherited Methods
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.