You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// and all operations and events are executed and received on main thread.
30
31
/// - parameter options: An optional dictionary containing initialization options for a central manager.
31
32
/// For more info about it please refer to [Central Manager initialization options](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCentralManager_Class/index.html)
33
+
/// - parameter cbCentralManager: Optional instance of `CBCentralManager` to be used as a `manager`.
34
+
/// If you skip this parameter, there will be created an instance of `CBCentralManager` using given queue and options.
32
35
/// - parameter onWillRestoreCentralManagerState: Closure called when state has been restored.
Copy file name to clipboardexpand all lines: Source/CentralManager.swift
+6-2
Original file line number
Diff line number
Diff line change
@@ -70,10 +70,14 @@ public class CentralManager: ManagerType {
70
70
/// - parameter queue: Queue on which bluetooth callbacks are received. By default main thread is used.
71
71
/// - parameter options: An optional dictionary containing initialization options for a central manager.
72
72
/// For more info about it please refer to [Central Manager initialization options](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCentralManager_Class/index.html)
73
+
/// - parameter cbCentralManager: Optional instance of `CBCentralManager` to be used as a `manager`. If you
74
+
/// skip this parameter, there will be created an instance of `CBCentralManager` using given queue and options.
Copy file name to clipboardexpand all lines: Source/PeripheralManager+RestoredState.swift
+3
Original file line number
Diff line number
Diff line change
@@ -16,11 +16,14 @@ extension PeripheralManager {
16
16
/// and all operations and events are executed and received on main thread.
17
17
/// - parameter options: An optional dictionary containing initialization options for a peripheral manager.
18
18
/// For more info about it please refer to [Peripheral Manager initialization options](https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/peripheral_manager_initialization_options)
19
+
/// - parameter cbPeripheralManager: Optional instance of `CBPeripheralManager` to be used as a `manager`. If you
20
+
/// skip this parameter, there will be created an instance of `CBPeripheralManager` using given queue and options.
19
21
/// - parameter onWillRestorePeripheralManagerState: Closure called when state has been restored.
Copy file name to clipboardexpand all lines: Source/PeripheralManager.swift
+6-2
Original file line number
Diff line number
Diff line change
@@ -47,11 +47,15 @@ public class PeripheralManager: ManagerType {
47
47
/// - parameter queue: Queue on which bluetooth callbacks are received. By default main thread is used.
48
48
/// - parameter options: An optional dictionary containing initialization options for a peripheral manager.
49
49
/// For more info about it please refer to [Peripheral Manager initialization options](https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/peripheral_manager_initialization_options)
50
+
/// - parameter cbPeripheralManager: Optional instance of `CBPeripheralManager` to be used as a `manager`. If you
51
+
/// skip this parameter, there will be created an instance of `CBPeripheralManager` using given queue and options.
/// and all operations and events are executed and received on main thread.
31
32
/// - parameter options: An optional dictionary containing initialization options for a central manager.
32
33
/// For more info about it please refer to [Central Manager initialization options](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCentralManager_Class/index.html)
34
+
/// - parameter cbCentralManager: Optional instance of `CBCentralManagerMock` to be used as a `manager`.
35
+
/// If you skip this parameter, there will be created an instance of `CBCentralManagerMock` using given queue and options.
33
36
/// - parameter onWillRestoreCentralManagerState: Closure called when state has been restored.
Copy file name to clipboardexpand all lines: Tests/Autogenerated/_CentralManager.generated.swift
+6-2
Original file line number
Diff line number
Diff line change
@@ -71,10 +71,14 @@ class _CentralManager: _ManagerType {
71
71
/// - parameter queue: Queue on which bluetooth callbacks are received. By default main thread is used.
72
72
/// - parameter options: An optional dictionary containing initialization options for a central manager.
73
73
/// For more info about it please refer to [Central Manager initialization options](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCentralManager_Class/index.html)
74
+
/// - parameter cbCentralManager: Optional instance of `CBCentralManagerMock` to be used as a `manager`. If you
75
+
/// skip this parameter, there will be created an instance of `CBCentralManagerMock` using given queue and options.
Copy file name to clipboardexpand all lines: Tests/Autogenerated/_PeripheralManager.generated.swift
+6-2
Original file line number
Diff line number
Diff line change
@@ -48,11 +48,15 @@ class _PeripheralManager: _ManagerType {
48
48
/// - parameter queue: Queue on which bluetooth callbacks are received. By default main thread is used.
49
49
/// - parameter options: An optional dictionary containing initialization options for a peripheral manager.
50
50
/// For more info about it please refer to [_Peripheral Manager initialization options](https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/peripheral_manager_initialization_options)
51
+
/// - parameter cbPeripheralManager: Optional instance of `CBPeripheralManagerMock` to be used as a `manager`. If you
52
+
/// skip this parameter, there will be created an instance of `CBPeripheralManagerMock` using given queue and options.
0 commit comments