<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "IOBluetooth",
  "identifier" : "/documentation/IOBluetooth/IOBluetoothDeviceInquiry/init(delegate:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "IOBluetooth"
    ],
    "preciseIdentifier" : "c:objc(cs)IOBluetoothDeviceInquiry(im)initWithDelegate:"
  },
  "title" : "init(delegate:)"
}
-->

# init(delegate:)

Initializes an alloc’d inquiry object, and sets the delegate object, as if -setDelegate: were called on it.

```
init!(delegate: Any!)
```

## Parameters

`delegate`

A delegate object that wishes to receive messages from the inquiry object. Delegate methods are listed below, under IOBluetoothDeviceInquiryDelegate.

## Return Value

A pointer to the initialized IOBluetoothDeviceInquiry object.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)