Contents

captureSession(_:didAdd:)

Provides a default, blank implementation for when the capture session adds surfaces and objects to the scan results.

Declaration

func captureSession(_ session: RoomCaptureSession, didAdd room: CapturedRoom)

Parameters

  • session:

    An object that manages the room-scanning process.

  • room:

    A structure that contains the newest surfaces and objects that the framework identifies during the scan.

Discussion

The system calls this implementation if your app doesn’t implement captureSession(_:didAdd:).