---
title: PlaygroundBluetoothCentralManagerDelegate
framework: Playground Bluetooth
role: symbol
role_heading: Protocol
platforms: [xcode 10.2+, swift playgrounds 2.0+]
path: playgroundbluetooth/playgroundbluetoothcentralmanagerdelegate
---

# PlaygroundBluetoothCentralManagerDelegate

A delegate you use to respond to peripheral discovery and manage the lifecycle of connections.

## Declaration

```swift
protocol PlaygroundBluetoothCentralManagerDelegate : AnyObject
```

## Topics

### Discovering Peripherals

- [centralManager(_:didDiscover:withAdvertisementData:rssi:)](playgroundbluetooth/playgroundbluetoothcentralmanagerdelegate/3029478-centralmanager.md)
- [centralManager(_:willConnectTo:)](playgroundbluetooth/playgroundbluetoothcentralmanagerdelegate/3029482-centralmanager.md)
- [centralManager(_:didConnectTo:)](playgroundbluetooth/playgroundbluetoothcentralmanagerdelegate/3029474-centralmanager.md)

### Handling State Changes

- [centralManagerStateDidChange(_:)](playgroundbluetooth/playgroundbluetoothcentralmanagerdelegate/3029484-centralmanagerstatedidchange.md)

### Handling Disconnects

- [centralManager(_:didDisconnectFrom:error:)](playgroundbluetooth/playgroundbluetoothcentralmanagerdelegate/3029476-centralmanager.md)
- [centralManager(_:didFailToConnectTo:error:)](playgroundbluetooth/playgroundbluetoothcentralmanagerdelegate/3029480-centralmanager.md)

## See Also

### Peripheral Connection

- [Connecting to Bluetooth Peripherals in Swift Playgrounds](playgroundbluetooth/connecting_to_bluetooth_peripherals_in_swift_playgrounds.md)
- [PlaygroundBluetoothCentralManager](playgroundbluetooth/playgroundbluetoothcentralmanager.md)
