UnavailableException
Subclasses of this exception are thrown when ARCore is not available.
Inherited Methods
From class
java.lang.Throwable
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()
|
Public Constructors
public
UnavailableException
()
UnavailableException
public UnavailableException()
public
UnavailableException
(String message)
UnavailableException
public UnavailableException(
String message
)
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."],[[["`UnavailableException` signals that ARCore is not available on the device."],["Several subclasses provide more specific reasons for unavailability, such as an outdated APK, ARCore not being installed, or device incompatibility."],["Developers can use this exception to gracefully handle situations where ARCore functionality is not accessible."],["The exception can be constructed with an optional message to provide further context."]]],["The `UnavailableException` class indicates ARCore unavailability, with subclasses specifying reasons like an outdated APK/SDK, ARCore not being installed, device incompatibility, or user declined installation. The class has two public constructors: one default and another taking a string message. It inherits methods from `java.lang.Throwable` for managing exceptions and from `java.lang.Object` for general object functions. These subclasses throw specific exceptions based on the cause of ARCore's unavailability.\n"]]