delphi IOS BLE 代理
centralManagerDidUpdateState:
peripheralManagerDidUpdateState:代理方法。
centralManager:willRestoreState
peripheralManager:willRestoreState:代理方法
- (void)centralManager:(CBCentralManager *)central willRestoreState:(NSDictionary *)state { NSArray *peripherals = state[CBCentralManagerRestoredStatePeripheralsKey]; // TODO: ... }D:\Program Files (x86)\Embarcadero\Studio\17.0\source\rtl\net\System.Mac.Bluetooth.pas
D:\Program Files (x86)\Embarcadero\Studio\17.0\source\rtl\osx\Macapi.Bluetooth.pas
\17.0\source\rtl\net\System.Mac.Bluetooth.pas(3481):
procedure centralManagerDidUpdateState(central: CBCentralManager); cdecl;
[MethodName('centralManager:willRestoreState:')]
procedure TInternalBluetoothLEManager.centralManagerDidUpdateState(central: CBCentralManager);
delphi在System.Mac.Bluetooth.pas实现了centralManagerDidUpdateState方法
procedure TInternalBluetoothLEManager.centralManagerDidUpdateState(central: CBCentralManager); begin if (central.state = CBCentralManagerStatePoweredOn) and FWaitingToDiscover then begin FWaitingToDiscover := False; central.scanForPeripheralsWithServices(FFilterUUIDList, FScanOptions); end; end;delphi也实现了 initWithDelegate方法
procedure TInternalBluetoothLEManager.centralManagerWillRestoreState(central: CBCentralManager; dict: NSDictionary); begin end;[PHP] php使用phpoffice/phpexcel 生成excel文件php生成excel并下载
使用IPTABLES限制IP上传下载速度,如何用iptables限速?iptables 限速
[PHP问题]PHP Warning: PHP Startup: Unable to load dynamic library ‘C:/AppServ\php5php基础问题
wget: unable to resolve host address的解决方法unable to resolve host no address
[PHP] PHP 8.0.0 Alpha 1已发布php hmacsha1
alpha-blending技术在图像处理中的应用与未来发展
Command vs Shell Ansible:如何选择合适的Ansible模块