ARSessionDelegate.DidFail(ARSession, NSError) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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