Class NSErrorExtensions
Extensions to the NSError object.
Inherited Members
Namespace: UnityEngine .XR.ARKit
Assembly: Unity.XR.ARKit.dll
Syntax
public static class NSErrorExtensions
Methods
AsARKitErrorCode(NSError)
Converts an NSError to an ARKit
Declaration
public static ARKitErrorCode AsARKitErrorCode(this NSError error)
Parameters
Returns
Type | Description |
---|---|
ARKit |
Returns the NSError as an ARKit |
Exceptions
Type | Condition |
---|---|
Invalid |
Thrown if |
See Also
AsCoreLocationErrorCode(NSError)
Converts an NSError to an Core
Declaration
public static CoreLocationErrorCode AsCoreLocationErrorCode(this NSError error)
Parameters
Returns
Type | Description |
---|---|
Core |
Returns the NSError as an Core |
Exceptions
Type | Condition |
---|---|
Invalid |
Thrown if |