LittleBluetoothConfiguration
public struct LittleBluetoothConfiguration
Configuration object that must be passed during the LittleBlueTooth
initialization
-
CBCentralManager
options dictionary for instance the restore identifier, thay are the same requested forCBCentralManager
Declaration
Swift
public var centralManagerOptions: [String : Any]?
-
CBCentralManager
queueDeclaration
Swift
public var centralManagerQueue: DispatchQueue?
-
This handler must be used to handle connection process after a disconnession. You can inspect the error and decide if an automatic connection is necessary. If you return
true
the connection process will start, once the peripheral has been found a connection will be established. If you returnfalse
the system will not try to establish a connection Connection process will remain active also in background if the app has the right permission, to cancel just calldisconnect
. When a connection will be established an.autoConnected(PeripheralIdentifier)
event will be streamed to theconnectionEventPublisher
Declaration
Swift
public var autoconnectionHandler: AutoconnectionHandler?
-
Enable logging, log is made using os_log and it exposes some information even in release configuration
Declaration
Swift
public var isLogEnabled: Bool
-
Undocumented
Declaration
Swift
public init()