ARSessionDelegate.WasInterrupted(ARSession) 方法

定义

发生中断时,开发人员可以重写此方法以停止帧处理和设备跟踪。

[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

参数

session
ARSession

为事件提供信息的会话。

属性

适用于