Share via


ARSKViewDelegate.DidFail(ARSession, NSError) Method

Definition

Called when the session stops running due to an error.

[Foundation.Export("session:didFailWithError:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DidFail(ARKit.ARSession session, Foundation.NSError error);
[<Foundation.Export("session:didFailWithError:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DidFail : ARKit.ARSession * Foundation.NSError -> unit
override this.DidFail : ARKit.ARSession * Foundation.NSError -> unit

Parameters

session
ARSession

The session that is supplying the information for the event.

error
NSError

The error that occurred.

Implements

Attributes

Applies to