centralManager(_:didDisconnectFrom:error:)
Tells the delegate that the central manager disconnected from a peripheral.
Declaration
func centralManager(_ centralManager: PlaygroundBluetoothCentralManager, didDisconnectFrom peripheral: CBPeripheral, error: Error?)Parameters
- centralManager:
The central manager that disconnected from a peripheral.
- peripheral:
The peripheral that the central manager disconnected from.
- error:
An error which, if present, describes the reason for the connection failure. The absence of an error indicates that the disconnection was requested via the manager’s 3029469 Disconnect method.