---
title: "captureSession(_:didAdd:)"
framework: RoomPlan
role: symbol
role_heading: Instance Method
platforms: [iOS 16.0+, iPadOS 16.0+, Mac Catalyst 16.0+]
path: "roomplan/roomcapturesessiondelegate/capturesession(_:didadd:)-f4xt"
---

# captureSession(_:didAdd:)

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

## Declaration

```swift
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

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