标签:style blog io ar for div sp cti log
- (instancetype)initWithDelegate:(id<CBCentralManagerDelegate>)delegate queue:(dispatch_queue_t)queue - (instancetype)initWithDelegate:(id<CBCentralManagerDelegate>)delegate queue:(dispatch_queue_t)queue options:(NSDictionary *)options
- (void)connectPeripheral:(CBPeripheral *)peripheral options:(NSDictionary *)options - (void)cancelPeripheralConnection:(CBPeripheral *)peripheral
- (void)retrieveConnectedPeripherals - (NSArray *)retrieveConnectedPeripheralsWithServices:(NSArray *)serviceUUIDs - (void)retrievePeripherals:(NSArray *)peripheralUUIDs - (NSArray *)retrievePeripheralsWithIdentifiers:(NSArray *)identifiers
- (void)scanForPeripheralsWithServices:(NSArray *)serviceUUIDs options:(NSDictionary *)options - (void)stopScan
@property(readonly) CBCentralManagerState state @property(weak, nonatomic) id< CBCentralManagerDelegate > delegate
Central Manager Initialization Options
NSString *const CBCentralManagerOptionShowPowerAlertKey ; NSString *const CBCentralManagerOptionRestoreIdentifierKey;
NSString *const CBCentralManagerScanOptionAllowDuplicatesKey ; NSString *const CBCentralManagerScanOptionSolicitedServiceUUIDsKey;
NSString *const CBConnectPeripheralOptionNotifyOnConnectionKey ; NSString *const CBConnectPeripheralOptionNotifyOnDisconnectionKey ; NSString *const CBConnectPeripheralOptionNotifyOnNotificationKey;
typedef enum { CBCentralManagerStateUnknown = 0, CBCentralManagerStateResetting , CBCentralManagerStateUnsupported , CBCentralManagerStateUnauthorized , CBCentralManagerStatePoweredOff , CBCentralManagerStatePoweredOn , } CBCentralManagerState;
标签:style blog io ar for div sp cti log
原文地址:http://www.cnblogs.com/zhongriqianqian/p/3980906.html