---
title: "scannerDevice(_:didSelect:error:)"
framework: imagecapturecore
role: symbol
role_heading: Instance Method
path: "imagecapturecore/icscannerdevicedelegate/scannerdevice(_:didselect:error:)"
---

# scannerDevice(_:didSelect:error:)

Tells the client when a functional unit is selected on the scanner.

## Declaration

```swift
optional func scannerDevice(_ scanner: ICScannerDevice, didSelect functionalUnit: ICScannerFunctionalUnit, error: (any Error)?)
```

## Discussion

Discussion A functional unit is selected immediately after the scanner instantiates and in response to calling requestSelect(_:).
