centralManager(_:didFailToConnectTo:error:)
Tells the delegate that the central manager failed to establish a connection with a peripheral.
Declaration
func centralManager(_ centralManager: PlaygroundBluetoothCentralManager, didFailToConnectTo peripheral: CBPeripheral, error: Error?)Parameters
- centralManager:
The central manager that failed to make the new connection.
- peripheral:
The peripheral that the central manager couldn’t connect to.
- error:
An error which describes the reason for the connection failure.