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

# captureSession(_:didChange:)

Notifies the delegate when the session changes the dimensions and the transform properties of surfaces and objects.

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

## Parameters

`session`

An object that manages the room-scanning process.

`room`

A structure that contains only the surfaces/objects that experience 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)