Method AsARKitErrorCode
AsARKitErrorCode(NSError)
Converts an NSError to an ARKitErrorCode by casting its code to an ARKitErrorCode.
Declaration
public static ARKitErrorCode AsARKitErrorCode(this NSError error)
Parameters
Type | Name | Description |
---|---|---|
NSError | error | The NSError being extended. |
Returns
Type | Description |
---|---|
ARKitErrorCode | Returns the NSError as an ARKitErrorCode. |
Exceptions
Type | Condition |
---|---|
InvalidCastException | Thrown if |