最終更新:2024-03-26 (火) 08:47:14 (32d)
CBCentralManager.scanForPeripherals
Top / CBCentralManager.scanForPeripherals
Scans for peripherals that are advertising services.
https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1518986-scanforperipherals
func scanForPeripherals( withServices serviceUUIDs: [CBUUID]?, options: [String : Any]? = nil )
options
- https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/peripheral_scanning_options
CBCentralManagerScanOptionAllowDuplicatesKey A Boolean value that specifies whether the scan should run without duplicate filtering. CBCentralManagerScanOptionSolicitedServiceUUIDsKey An array of service UUIDs that you want to scan for.