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

# captureSession(_:didChange:)

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

## Declaration

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

## See Also

### Updating a session

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