Class AddReferenceImageJobStatusExtensions
Extensions to the AddReferenceImageJobStatus enum
.
Namespace: UnityEngine.XR.ARSubsystems
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 |
---|---|
Boolean | 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 |
---|---|
Boolean | 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 |
---|---|
Boolean | 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 |
---|---|
Boolean | Returns |