enum ARError (Niantic.ARDK.AR.ARError)
Overview
Possible error values output by an AR session’s didFailWithError callback. More…
enum ARError { UnsupportedConfiguration = 100, SensorUnavailable = 101, SensorFailed = 102, CameraUnauthorized = 103, WorldTrackingFailed = 200, InvalidReferenceImage = 300, AvailabilityFailure = 400, };
Detailed Documentation
Possible error values output by an AR session’s didFailWithError callback.
Enum Values
UnsupportedConfiguration
The ERConfiguration object passed to the Run() method is not supported by the current device.
SensorUnavailable
A sensor required to run the session is not available.
SensorFailed
A sensor failed to provide the required input.
CameraUnauthorized
The user has denied your app permission to use the device camera.
WorldTrackingFailed
World tracking has encountered a fatal error.
InvalidReferenceImage
An invalid reference image was passed in the configuration.
AvailabilityFailure
AR features are not available currently, check for availability using the ARCore Availability API.
Note
This is an Android-only value.