Contents

ARSessionDelegate

Methods you can implement to receive captured video frame images and tracking state from an AR session.

Declaration

protocol ARSessionDelegate : ARSessionObserver

Overview

Implement this protocol if you need to work directly with ARFrame objects captured by the session or directly follow changes to the session’s set of tracked ARAnchor objects. Typically, you adopt this protocol when building a custom view for displaying AR content—if you display content with SceneKit or SpriteKit, the ARSCNViewDelegate and ARSKViewDelegate protocols provide similar information and integrate with those technologies.

This protocol extends the ARSessionObserver protocol, so your session delegate can also implement those methods to respond to changes in session status.

Topics

Receiving Camera Frames

Handling Content Updates

See Also

Responding to events