Enumerations
The following enumerations are available globally.
- 
                  
                  
Determines how Bluejay should opt-in to CoreBluetooth state restoration.
See moreDeclaration
Swift
public enum BackgroundRestoreMode 
- 
                  
                  
Allows capturing further Bluejay operations to be queued and executed after background restoration is completed.
See moreDeclaration
Swift
public enum BackgroundRestoreCompletion 
- 
                  
                  
Types of connection time outs. Can specify a time out in seconds, or no time out.
See moreDeclaration
Swift
public enum Timeout 
- 
                  
                  
Indicates a successful, cancelled, or failed connection attempt, where the success case contains the peripheral connected to.
See moreDeclaration
Swift
public enum ConnectionResult 
- 
                  
                  
Tells Bluejay whether it should auto-reconnect.
See moreDeclaration
Swift
public enum AutoReconnectMode 
- 
                  
                  
Indicates a successful, cancelled, or failed disconnection attempt, where the success case contains the peripheral disconnected from.
See moreDeclaration
Swift
public enum DisconnectionResult 
- 
                  
                  
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 
- 
                  
                  
Available actions to take on an unhandled listen event from background restoration.
See moreDeclaration
Swift
public enum ListenRestoreAction 
- 
                  
                  
Ways to handle calling listen on the same characteristic multiple times.
See moreDeclaration
Swift
public enum MultipleListenOption : Int 
- 
                  
                  
Indicates a successful, cancelled, or failed read attempt, where the success case contains the value read.
See moreDeclaration
Swift
public enum ReadResult<R> 
- 
                  
                  
Indicates a successful, cancelled, or failed
See morerun(backgroundTask:completionOnMainThread:)attempt, where the success case contains the value returned at the end of the background task.Declaration
Swift
public enum RunResult<R> 
- 
                  
                  
Indicates whether a scan should continue, continue but blacklist the current discovery, stop, or stop and connect.
See moreDeclaration
Swift
public enum ScanAction 
- 
                  
                  
Specifies whether to start a new Bluejay instance from scratch, or from an existing CoreBluetooth session.
See moreDeclaration
Swift
public enum StartMode 
- 
                  
                  
Indicates a successful, cancelled, or failed write attempt.
See moreDeclaration
Swift
public enum WriteResult 
View on GitHub
        Enumerations  Reference