Navigation
API > API/Runtime > API/Runtime/AugmentedReality
Describes the current status of the AR session.
| Name | EARSessionStatus |
| Type | enum |
| Header File | /Engine/Source/Runtime/AugmentedReality/Public/ARTypes.h |
| Include Path | #include "ARTypes.h" |
Syntax
enum EARSessionStatus
{
NotStarted,
Running,
NotSupported,
FatalError,
PermissionNotGranted,
UnsupportedConfiguration,
Other,
}
Values
| Name | Remarks |
|---|---|
| NotStarted | Unreal AR session has not started yet. |
| Running | Unreal AR session is running. |
| NotSupported | Unreal AR session failed to start due to the AR subsystem not being supported by the device. |
| FatalError | The AR session encountered fatal error; the developer should call `StartARSession()_ to re-start the AR subsystem. |
| PermissionNotGranted | AR session failed to start because it lacks the necessary permission (likely access to the camera or the gyroscope). |
| UnsupportedConfiguration | AR session failed to start because the configuration isn't supported. |
| Other | Session isn't running due to unknown reason; |