Interface ARSessionObserver

All Superinterfaces:
NSObjectProtocol, ObjCProtocol
All Known Subinterfaces:
ARSCNViewDelegate, ARSessionDelegate, ARSKViewDelegate
All Known Implementing Classes:
ARSCNViewDelegateAdapter, ARSessionDelegateAdapter, ARSessionObserverAdapter, ARSKViewDelegateAdapter

public interface ARSessionObserver
extends NSObjectProtocol
Since:
Available in iOS 11.0 and later.
  • Method Details

    • didFailWithError

      void didFailWithError​(ARSession session, NSError error)
    • cameraDidChangeTrackingState

      void cameraDidChangeTrackingState​(ARSession session, ARCamera camera)
    • sessionWasInterrupted

      void sessionWasInterrupted​(ARSession session)
    • sessionInterruptionEnded

      void sessionInterruptionEnded​(ARSession session)
    • sessionShouldAttemptRelocalization

      boolean sessionShouldAttemptRelocalization​(ARSession session)
      Since:
      Available in iOS 11.3 and later.
    • didOutputAudioSampleBuffer

      void didOutputAudioSampleBuffer​(ARSession session, CMSampleBuffer audioSampleBuffer)
    • didOutputCollaborationData

      void didOutputCollaborationData​(ARSession session, ARCollaborationData data)
      Since:
      Available in iOS 13.0 and later.
    • didChangeGeoTrackingStatus

      void didChangeGeoTrackingStatus​(ARSession session, ARGeoTrackingStatus geoTrackingStatus)
      Since:
      Available in iOS 14.0 and later.