ARSessionDelegate.DidFail(ARSession, NSError) Method

Definition

Called when the session stops running due to an error.

[Foundation.Export("session:didFailWithError:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidFail (ARKit.ARSession session, Foundation.NSError error);
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.

Attributes

Applies to