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, but additional information is available. |
Fields
| Name | Description |
|---|---|
| LimitReached | Indicates that the operation failed because too many previous instances of the operation are currently
in progress. If you intend to cancel an operation in progress so that your new request can succeed, use the
|
| NotFound | Indicates that the operation failed to return a value because a required lookup step failed. |
| NotTracking | Indicates that the operation failed to return a value because it required a native resource to be in a
|
| 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. |
| Unsupported | Indicates that Unity has determined that the operation is not supported on the device. |
| ValidationFailure | Indicates that the input parameters failed to meet Unity's validation requirements, and no additional information is available. |