Upravit

Sdílet prostřednictvím


ARSCNViewDelegate.DidFail(ARSession, NSError) Method

Definition

Developers may override this method to react to failures in the augmented-reality processing.

[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