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

# captureSession(_:didRemove:)

Provides a default, blank implementation for when the session removes surfaces and objects.

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

## Parameters

`session`

An object that manages the room-scanning process.

`room`

A structure that contains surfaces and objects that the framework removes from the scan.

## Discussion

The system calls this implementation if your app doesn’t implement [`captureSession(_:didRemove:)`](/documentation/RoomPlan/RoomCaptureSessionDelegate/captureSession(_:didRemove:)).

---

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)