Class AsyncCameraImageConversionStatusExtensions
Extension methods for the AsyncCameraImageConversionStatus enum.
Inheritance
System.Object
AsyncCameraImageConversionStatusExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.XR.ARExtensions
Syntax
public static class AsyncCameraImageConversionStatusExtensions
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 |
---|---|
System.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 |
---|---|
System.Boolean |
|