Share via


ARSessionObserver_Extensions.DidFail Method

Definition

Called when the session stops running due to an error.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void DidFail(this ARKit.IARSessionObserver This, ARKit.ARSession session, Foundation.NSError error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member DidFail : ARKit.IARSessionObserver * ARKit.ARSession * Foundation.NSError -> unit

Parameters

session
ARSession

The session that is supplying the information for the event.

error
NSError

The error that occurred.

Attributes

Applies to