ConnectionResult
public enum ConnectionResult
Indicates a successful, cancelled, or failed connection attempt, where the success case contains the peripheral connected to.
-
The connection is successful, and the peripheral connected is captured in the associated value.
Declaration
Swift
case success(PeripheralIdentifier)
-
The connection has failed unexpectedly with an error.
Declaration
Swift
case failure(Error)