---
title: "captureView(didPresent:error:)"
framework: roomplan
role: symbol
role_heading: Instance Method
path: "roomplan/roomcaptureviewdelegate/captureview(didpresent:error:)"
---

# captureView(didPresent:error:)

Provides the delegate with the processed scan results as the view presents them.

## Declaration

```swift
func captureView(didPresent processedResult: CapturedRoom, error: (any Error)?)
```

## Parameters

- `processedResult`: A structure that provides detailed information about the dimensions and features of the scanned room.
- `error`: An object that describes the problem when an error occurs; otherwise, nil.

## Discussion

Discussion The framework invokes this callback when your app returns true for captureView(shouldPresent:error:). With the processedResult argument, your app can alter the detailed captured room object or export it to a USDZ file.

## See Also

### Post-processing scan results

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