playbackSession
Called on the main queue each time a new playback frame is ready. Use the frame's metadata, image, and optional depth for rendering or processing.
Declaration
func playbackSession(_ session: PlaybackSession, didUpdate frame: PlaybackFrame)
Summary
Overload
func playbackSession(_ session: PlaybackSession, cameraDidChangeTrackingState camera: PlaybackCamera)
Summary
Called on the main queue when the tracking state changes (e.g. at start of playback). For playback, state is typically .normal.
Called on the main queue each time a new playback frame is ready. Use the frame's metadata, image, and optional depth for rendering or processing.