---
title: RoomCaptureViewDelegate
framework: roomplan
role: symbol
role_heading: Protocol
path: roomplan/roomcaptureviewdelegate
---

# RoomCaptureViewDelegate

A specification to post-process the results of a scan.

## Declaration

```swift
protocol RoomCaptureViewDelegate : NSCoding
```

## Overview

Overview The room-capture view’s delegate property (delegate) is of this type. When your app scans a room using the framework-provided view (RoomCaptureView), your delegate receives the raw scan results through the roomDataForProcessing argument of captureView(shouldPresent:error:). If your app returns true to captureView(shouldPresent:error:), the framework processes the raw results and calls captureView(didPresent:error:) when processing completes.

## Topics

### Post-processing scan results

- [captureView(shouldPresent:error:)](roomplan/roomcaptureviewdelegate/captureview(shouldpresent:error:).md)
- [captureView(didPresent:error:)](roomplan/roomcaptureviewdelegate/captureview(didpresent:error:).md)

### Default implementations

- [captureView(shouldPresent:error:)](roomplan/roomcaptureviewdelegate/captureview(shouldpresent:error:)-5l74q.md)
- [captureView(didPresent:error:)](roomplan/roomcaptureviewdelegate/captureview(didpresent:error:)-6em1r.md)

## Relationships

### Inherits From

- [NSCoding](foundation/nscoding.md)

## See Also

### User Interface

- [RoomCaptureView](roomplan/roomcaptureview.md)
