DisconnectionResult
public enum DisconnectionResult
Indicates a successful, cancelled, or failed disconnection attempt, where the success case contains the peripheral disconnected from.
-
The disconnection is successful, and the disconnected peripheral is captured in the associated value.
Declaration
Swift
case disconnected(PeripheralIdentifier) -
The disconnection has failed unexpectedly with an error.
Declaration
Swift
case failure(Error)
View on GitHub
DisconnectionResult Enumeration Reference