Enumerations
The following enumerations are available globally.
-
Indicates a successful, cancelled, or failed read attempt, where the success case contains the value read.
See moreDeclaration
Swift
public enum ReadResult<R>
-
Determines how Bluejay should opt-in to CoreBluetooth state restoration.
See moreDeclaration
Swift
public enum BackgroundRestoreMode
-
Indicates a successful, cancelled, or failed disconnection attempt, where the success case contains the peripheral disconnected from.
See moreDeclaration
Swift
public enum DisconnectionResult
-
Indicates whether a scan should continue, continue but blacklist the current discovery, stop, or stop and connect.
See moreDeclaration
Swift
public enum ScanAction
-
Indicates a successful, cancelled, or failed connection attempt, where the success case contains the peripheral connected to.
See moreDeclaration
Swift
public enum ConnectionResult
-
Indicates a successful, cancelled, or failed write attempt.
See moreDeclaration
Swift
public enum WriteResult
-
Errors specific to Bluejay.
See moreDeclaration
Swift
public enum BluejayError
-
Indicates whether the current listen on a characteristic should continue or end.
See moreDeclaration
Swift
public enum ListenAction
-
Types of connection time outs. Can specify a time out in seconds, or no time out.
See moreDeclaration
Swift
public enum Timeout