supports
TypeScriptstatic supports(features: CBCentralManager_Feature): booleanSwift declarationclass func supports(_ features: CBCentralManager.Feature) -> Boolclass · iOS 5.0+ · SDK 27.1
class CBCentralManagerstatic supports(features: CBCentralManager_Feature): booleanSwift declarationclass func supports(_ features: CBCentralManager.Feature) -> BoolcancelPeripheralConnection(peripheral: CBPeripheral): voidSwift declarationfunc cancelPeripheralConnection(_ peripheral: CBPeripheral)connect(peripheral: CBPeripheral, options?: (Record<string, unknown>) | null): voidSwift declarationfunc connect(_ peripheral: CBPeripheral, options: [String : Any]? = nil)static init(): CBCentralManagerSwift declarationconvenience init()static initDelegateQueue(delegate?: (Implements<CBCentralManagerDelegate> | SDKHandle) | null, queue?: (_Dispatch_DispatchQueue) | null): CBCentralManagerSwift declarationconvenience init(delegate: (any CBCentralManagerDelegate)?, queue: dispatch_queue_t?)static initDelegateQueueOptions(delegate?: (Implements<CBCentralManagerDelegate> | SDKHandle) | null, queue?: (_Dispatch_DispatchQueue) | null, options?: (Record<string, unknown>) | null): CBCentralManagerSwift declarationinit(delegate: (any CBCentralManagerDelegate)?, queue: dispatch_queue_t?, options: [String : Any]? = nil)registerForConnectionEvents(options?: (NativeMap<CBConnectionEventMatchingOption, unknown>) | null): voidSwift declarationfunc registerForConnectionEvents(options: [CBConnectionEventMatchingOption : Any]? = nil)retrieveConnectedPeripherals(serviceUUIDs: Array<CBUUID>): Array<CBPeripheral>Swift declarationfunc retrieveConnectedPeripherals(withServices serviceUUIDs: [CBUUID]) -> [CBPeripheral]retrievePeripherals(identifiers: Array<string>): Array<CBPeripheral>Swift declarationfunc retrievePeripherals(withIdentifiers identifiers: [UUID]) -> [CBPeripheral]scanForPeripherals(serviceUUIDs?: (Array<CBUUID>) | null, options?: (Record<string, unknown>) | null): voidSwift declarationfunc scanForPeripherals(withServices serviceUUIDs: [CBUUID]?, options: [String : Any]? = nil)stopScan(): voidSwift declarationfunc stopScan()get delegate(): (SDKHandle) | nullSwift declarationweak var delegate: (any CBCentralManagerDelegate)? { get set }set delegate(value: (Implements<CBCentralManagerDelegate> | SDKHandle) | null)Swift declarationweak var delegate: (any CBCentralManagerDelegate)? { get set }get isScanning(): booleanSwift declarationvar isScanning: Bool { get }No declarations were skipped in this snapshot.