---
title: "captureSession(_:didUpdate:)"
framework: roomplan
role: symbol
role_heading: Instance Method
path: "roomplan/roomcapturesessiondelegate/capturesession(_:didupdate:)"
---

# captureSession(_:didUpdate:)

Notifies the delegate when the session updates the scan results.

## Declaration

```swift
func captureSession(_ session: RoomCaptureSession, didUpdate room: CapturedRoom)
```

## Parameters

- `session`: An object that manages the room-scanning process.
- `room`: A structure that represents a snapshot of the room being captured.

## Discussion

Discussion The room structure contains all surfaces/objects in the captured room regardless of the recent changes.

## See Also

### Updating a session

- [captureSession(_:didAdd:)](roomplan/roomcapturesessiondelegate/capturesession(_:didadd:).md)
- [captureSession(_:didRemove:)](roomplan/roomcapturesessiondelegate/capturesession(_:didremove:).md)
- [captureSession(_:didChange:)](roomplan/roomcapturesessiondelegate/capturesession(_:didchange:).md)
