Upravit

Sdílet prostřednictvím


ARSCNViewDelegate.WasInterrupted(ARSession) Method

Definition

Developers may override this method to stop frame processing and device tracking when an interruption occurs.

[Foundation.Export("sessionWasInterrupted:")]
[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 WasInterrupted (ARKit.ARSession session);
abstract member WasInterrupted : ARKit.ARSession -> unit
override this.WasInterrupted : ARKit.ARSession -> unit

Parameters

session
ARSession

The session that is supplying the information for the event.

Attributes

Applies to