namespace UnityEngine.XR.ARFoundation
{
///
/// Represents the current state of the AR system.
///
public enum ARSessionState
{
///
/// AR has not been initialized and availability is unknown.
/// You can call to check availability of AR on the device.
///
None,
///
/// AR is not supported on the device.
///
Unsupported,
///
/// The session subsystem is currently checking availability of AR on the device.
/// The coroutine has not yet completed.
///
CheckingAvailability,
///
/// The device supports AR, but requires additional software to be installed.
/// If the provider [supports runtime installation](xref:UnityEngine.XR.ARSubsystems.XRSessionSubsystemDescriptor.supportsInstall),
/// you can call to attempt installation of AR software on the device.
///
NeedsInstall,
///
/// AR software is currently installing.
/// The coroutine has not yet completed.
///
Installing,
///
/// The device supports AR, and any necessary software is installed.
/// This state will automatically change to either SessionInitializing or SessionTracking.
///
Ready,
///
/// The AR session is currently initializing. This usually means AR is running, but not yet tracking successfully.
///
SessionInitializing,
///
/// The AR session is running and tracking successfully. The device is able to determine its position and orientation in the world.
/// If tracking is lost during a session, this state may change to SessionInitializing.
///
SessionTracking
}
}