共用方式為


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

提供事件資訊的會話。

屬性

適用於