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

# captureSession(_:didProvide:)

Notifies the delegate of an instruction to display to the user.

## Declaration

```swift
func captureSession(_ session: RoomCaptureSession, didProvide instruction: RoomCaptureSession.Instruction)
```

## Parameters

- `session`: An object that manages the room-scanning process.
- `instruction`: A specific recommendation the framework makes for the user to complete the scan.
