---
title: "init(delegate:queue:)"
framework: corebluetooth
role: symbol
role_heading: Initializer
path: "corebluetooth/cbcentralmanager/init(delegate:queue:)"
---

# init(delegate:queue:)

Initializes the central manager with a specified delegate and dispatch queue.

## Declaration

```swift
convenience init(delegate: (any CBCentralManagerDelegate)?, queue: dispatch_queue_t?)
```

## Parameters

- `delegate`: The delegate that receives central events.
- `queue`: The dispatch queue used to dispatch the central role events. If the value is nil, the central manager dispatches central role events using the main queue.

## Return Value

Return Value Returns a newly initialized central manager.

## Discussion

Discussion For more information, see Core Bluetooth Programming Guide.

## See Also

### Initializing a Central Manager

- [init()](corebluetooth/cbcentralmanager/init().md)
- [init(delegate:queue:options:)](corebluetooth/cbcentralmanager/init(delegate:queue:options:).md)
- [Central Manager Initialization Options](corebluetooth/central-manager-initialization-options.md)
- [Central Manager State Restoration Options](corebluetooth/central-manager-state-restoration-options.md)
