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. |
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. |