共用方式為


ARSKViewDelegate.ShouldAttemptRelocalization(ARSession) 方法

定義

傳回布林值,指出會話是否應該在中斷之後嘗試重新導向。

[Foundation.Export("sessionShouldAttemptRelocalization:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[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 bool ShouldAttemptRelocalization (ARKit.ARSession session);
abstract member ShouldAttemptRelocalization : ARKit.ARSession -> bool
override this.ShouldAttemptRelocalization : ARKit.ARSession -> bool

參數

session
ARSession

有問題的會話。

傳回

布林值,指出會話是否應該在中斷之後嘗試重新導向。

屬性

適用於