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

# captureSession(_:didProvide:)

Provides a default, blank implementation for when the capture session provides a user instruction.

## 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.

## Mentioned in

Scanning the rooms of a single structure

## Discussion

Discussion The system calls this implementation if your app doesn’t implement captureSession(_:didProvide:).

## See Also

### Default implementations

- [captureSession(_:didStartWith:)](roomplan/roomcapturesessiondelegate/capturesession(_:didstartwith:)-3c74n.md)
- [captureSession(_:didUpdate:)](roomplan/roomcapturesessiondelegate/capturesession(_:didupdate:)-77zyg.md)
- [captureSession(_:didRemove:)](roomplan/roomcapturesessiondelegate/capturesession(_:didremove:)-9gs76.md)
- [captureSession(_:didChange:)](roomplan/roomcapturesessiondelegate/capturesession(_:didchange:)-gv3t.md)
- [captureSession(_:didEndWith:error:)](roomplan/roomcapturesessiondelegate/capturesession(_:didendwith:error:)-5f0mc.md)
