Edit

Share via


ARSessionObserver_Extensions Class

Definition

Optional methods of the IARSessionObserver interface.

public static class ARSessionObserver_Extensions
type ARSessionObserver_Extensions = class
Inheritance
ARSessionObserver_Extensions

Methods

CameraDidChangeTrackingState(IARSessionObserver, ARSession, ARCamera)

Called when the TrackingState changes, indicating a change in tracking quality.

DidFail(IARSessionObserver, ARSession, NSError)

Called when the session stops running due to an error.

DidOutputAudioSampleBuffer(IARSessionObserver, ARSession, CMSampleBuffer)

Developers may implement this method that is called shortly after an audio buffer has been played.

InterruptionEnded(IARSessionObserver, ARSession)

Developers may override this method to begin frame processing and device tracking after an interruption.

ShouldAttemptRelocalization(IARSessionObserver, ARSession)

Returns a Boolean value that tells whether the session should attempt to reorient after an interruption.

WasInterrupted(IARSessionObserver, ARSession)

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

Applies to