Enum XRResultStatus.StatusCode
Indicates whether the operation succeeded or failed as well as whether additional status information is available in nativeStatusCode.
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public enum XRResultStatus.StatusCode
Remarks
The integer value of this enum has the following meanings:
| Value | Meaning |
|---|---|
| Less than zero | The operation failed with an error. |
| Zero | The operation was an unqualified success. |
| Greater than zero | The operation succeeded. |
Fields
| Name | Description |
|---|---|
| PlatformError | Indicates that the operation failed with an error, and additional information is available in nativeStatusCode. |
| PlatformQualifiedSuccess | Indicates that the operation was successful, and additional information is available in nativeStatusCode. |
| ProviderNotStarted | Indicates that the operation failed because the provider was not started. This may be because you haven't enabled a necessary manager component, or because platform-specific requirements to start the provider were not met. |
| ProviderUninitialized | Indicates that the operation failed because the provider was uninitialized. This may be because XR Plug-in Management has not yet initialized an XR loader, or because a platform-specific resource is not yet available. |
| UnknownError | Indicates that the operation failed with an unknown error, and no additional information is available. |
| UnqualifiedSuccess | Indicates that the operation was successful, and no additional information is available. |
| ValidationFailure | Indicates that the input parameters failed to meet Unity's validation requirements, and no additional information is available. |