
Its initial FutureState will be set to FutureState.PENDING. This function returns a VpsAvailabilityFuture which can be used to obtain the task's This mayīe called without calling resume() or configure(Config). This launches an asynchronous operation used to query the Google Cloud ARCore API. Geospatial localization and tracking accuracy. The availability of VPS in a given location helps to improve the quality of Gets the availability of the Visual Positioning System (VPS) at a specified horizontal (double latitude, double longitude, Consumer callback)ĬheckVpsAvailabilityAsync public VpsAvailabilityFuture checkVpsAvailabilityAsync( This is not possible with the currently available If the requested features are mutually incompatible. Usually indicates that ARCore has been side-loaded onto an incompatible device.Ĭreates a new ARCore session requesting additional features.

If encountered after completing the installation check, this Installation check described in the Session class-level documentation. Is too old for the ARCore SDK with which this app was built. This can be prevented by the installation check described in the Session class-level documentation.Īpp was built with is too old and is no longer supported by the installed ARCore APK. If your app does not have the permission. adb logcat may contain useful information. Failure to close the session explicitly may cause your app to run outĬreating the session. Switching between AR and non-AR modes), consider using _CAMERA.ĪR-enabled activity, it is recommended that you call close() from the activity's If you want to share the camera with ARCore (for example, to enable fast When created through this constructor, ARCore holds exclusive access to the camera while the See the Session class-level documentation for details. Failure to close the session explicitly may cause your app to run out ofīefore calling this constructor, your app must check that a compatible version of ARCore is

If your app contains a singleĪR-enabled activity, it is recommended that you call close() from the activity's onDestroy method. Needed, call close() to release native resources.

This class owns a significant amount of native heap memory.
