Class XRAsyncCameraImageConversionStatusExtensions
Extension methods for the AsyncCameraImageConversionStatus enum.
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public static class XRAsyncCameraImageConversionStatusExtensions : object
Methods
IsDone(AsyncCameraImageConversionStatus)
Whether the request has completed. It may have completed with an error or be an invalid / disposed request. See IsError(AsyncCameraImageConversionStatus).
Declaration
public static bool IsDone(this AsyncCameraImageConversionStatus status)
Parameters
Type | Name | Description |
---|---|---|
AsyncCameraImageConversionStatus | status | The AsyncCameraImageConversionStatus being extended. |
Returns
Type | Description |
---|---|
Boolean |
|
IsError(AsyncCameraImageConversionStatus)
Whether the request status represents an error. If the request has been disposed, IsError
will be true
.
Declaration
public static bool IsError(this AsyncCameraImageConversionStatus status)
Parameters
Type | Name | Description |
---|---|---|
AsyncCameraImageConversionStatus | status | The AsyncCameraImageConversionStatus being extended. |
Returns
Type | Description |
---|---|
Boolean |
|