<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RoomPlan",
  "identifier" : "/documentation/RoomPlan/RoomCaptureSessionDelegate/captureSession(_:didUpdate:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RoomPlan"
    ],
    "preciseIdentifier" : "s:8RoomPlan0A22CaptureSessionDelegateP07captureD0_9didUpdateyAA0acD0C_AA08CapturedA0VtF"
  },
  "title" : "captureSession(_:didUpdate:)"
}
-->

# captureSession(_:didUpdate:)

Notifies the delegate when the session updates the scan results.

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

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)