Class AddReferenceImageJobStatusExtensions
Extensions to the AddReferenceImageJobStatus enum
.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public static class AddReferenceImageJobStatusExtensions
Methods
IsComplete(AddReferenceImageJobStatus)
Determines whether the AddReferenceImageJobStatus has completed (successfully or not).
Declaration
public static bool IsComplete(this AddReferenceImageJobStatus status)
Parameters
Type | Name | Description |
---|---|---|
AddReferenceImageJobStatus | status | The AddReferenceImageJobStatus being extended. |
Returns
Type | Description |
---|---|
bool | Returns |
IsError(AddReferenceImageJobStatus)
Determines whether the AddReferenceImageJobStatus has completed with an error.
Declaration
public static bool IsError(this AddReferenceImageJobStatus status)
Parameters
Type | Name | Description |
---|---|---|
AddReferenceImageJobStatus | status | The AddReferenceImageJobStatus being extended. |
Returns
Type | Description |
---|---|
bool | Returns |
IsPending(AddReferenceImageJobStatus)
Determines whether the AddReferenceImageJobStatus is Pending.
Declaration
public static bool IsPending(this AddReferenceImageJobStatus status)
Parameters
Type | Name | Description |
---|---|---|
AddReferenceImageJobStatus | status | The AddReferenceImageJobStatus being extended. |
Returns
Type | Description |
---|---|
bool | Returns |
IsSuccess(AddReferenceImageJobStatus)
Determines whether the AddReferenceImageJobStatus has completed successfully.
Declaration
public static bool IsSuccess(this AddReferenceImageJobStatus status)
Parameters
Type | Name | Description |
---|---|---|
AddReferenceImageJobStatus | status | The AddReferenceImageJobStatus being extended. |
Returns
Type | Description |
---|---|
bool | Returns |