Edit

Share via


ARSKViewDelegate.CameraDidChangeTrackingState(ARSession, ARCamera) Method

Definition

Developers may override this method to react to changes in tracking quality.

[Foundation.Export("session:cameraDidChangeTrackingState:")]
[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 CameraDidChangeTrackingState (ARKit.ARSession session, ARKit.ARCamera camera);
abstract member CameraDidChangeTrackingState : ARKit.ARSession * ARKit.ARCamera -> unit
override this.CameraDidChangeTrackingState : ARKit.ARSession * ARKit.ARCamera -> unit

Parameters

session
ARSession

The session that is supplying the information for the event.

camera
ARCamera

The camera whose tracking state changed.

Attributes

Applies to