ManagerType
public protocol ManagerType : AnyObject
                Undocumented
- 
                  
                  
Undocumented
Declaration
Swift
associatedtype Manager - 
                  
                  
Implementation of CBManager
Declaration
Swift
var manager: Manager { get } - 
                  
                  
Current state of
CentralManagerinstance described byBluetoothStatewhich is equivalent to CBManagerState.Declaration
Swift
var state: BluetoothState { get } - 
                  
                  
Continuous state of
CBManagerinstance described byBluetoothStatewhich is equivalent to CBManagerState.It’s infinite stream, so
.completeis never called.Declaration
Swift
func observeState() -> Observable<BluetoothState>Return Value
Observable that emits
nextevent whenever state changes. - 
                  
                  
Continuous state of
CBManagerinstance described byBluetoothStatewhich is equivalent to CBManagerState.It’s infinite stream, so
.completeis never called.Declaration
Swift
func observeStateWithInitialValue() -> Observable<BluetoothState>Return Value
Observable that emits
nextevent starting with current state and whenever state changes. - 
                  
ensure(_:Extension methodobservable: ) Ensure that
stateis and will be the only state ofCentralManagerduring subscription. Otherwise error is emitted.Declaration
Swift
func ensure<T>(_ state: BluetoothState, observable: Observable<T>) -> Observable<T>Parameters
stateBluetoothStatewhich should be present during subscription.observableObservable into which potential errors should be merged.
Return Value
New observable which merges errors with source observable.
 
View on GitHub
        ManagerType Protocol Reference