---
title: "deviceInquiryDeviceFound(_:device:)"
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: "iobluetooth/iobluetoothdeviceinquirydelegate/deviceinquirydevicefound(_:device:)"
---

# deviceInquiryDeviceFound(_:device:)

## Declaration

```swift
optional func deviceInquiryDeviceFound(_ sender: IOBluetoothDeviceInquiry!, device: IOBluetoothDevice!)
```

## Parameters

- `sender`: Inquiry object that sent this delegate message.
- `device`: IOBluetoothDevice that was found.

## Discussion

Discussion A new device has been found. You do not need to retain the device - it will be held in the internal storage of the inquiry, and can be accessed later using -foundDevices.
