CBCentralManager.ScanForPeripherals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ScanForPeripherals(CBUUID[], NSDictionary) |
Scans for peripherals that are advertising any of the specified |
| ScanForPeripherals(CBUUID[], PeripheralScanningOptions) |
Scans for peripherals that are advertising any of the specified |
| ScanForPeripherals(CBUUID) |
Scans for peripherals that are advertising the specified |
| ScanForPeripherals(CBUUID[]) |
Scans for peripherals that are advertising any of the specified |
| ScanForPeripherals(CBUUID, NSDictionary) |
Scans for peripherals that are advertising the specified |
ScanForPeripherals(CBUUID[], NSDictionary)
Scans for peripherals that are advertising any of the specified peripheralUuids with the specified options.
public void ScanForPeripherals(CoreBluetooth.CBUUID[]? peripheralUuids, Foundation.NSDictionary? options);
member this.ScanForPeripherals : CoreBluetooth.CBUUID[] * Foundation.NSDictionary -> unit
Parameters
- peripheralUuids
- CBUUID[]
An array of advertised UUIDs to scan for.
- options
- NSDictionary
Any custom options for the scan.
Applies to
ScanForPeripherals(CBUUID[], PeripheralScanningOptions)
Scans for peripherals that are advertising any of the specified peripheralUuids with the specified options.
public void ScanForPeripherals(CoreBluetooth.CBUUID[]? peripheralUuids, CoreBluetooth.PeripheralScanningOptions? options = default);
member this.ScanForPeripherals : CoreBluetooth.CBUUID[] * CoreBluetooth.PeripheralScanningOptions -> unit
Parameters
- peripheralUuids
- CBUUID[]
An array of advertised UUIDs to scan for.
- options
- PeripheralScanningOptions
Any custom options for the scan.
Applies to
ScanForPeripherals(CBUUID)
Scans for peripherals that are advertising the specified serviceUuid.
public void ScanForPeripherals(CoreBluetooth.CBUUID serviceUuid);
member this.ScanForPeripherals : CoreBluetooth.CBUUID -> unit
Parameters
- serviceUuid
- CBUUID
The advertised UUID to scan for.
Applies to
ScanForPeripherals(CBUUID[])
Scans for peripherals that are advertising any of the specified peripheralUuids.
public void ScanForPeripherals(CoreBluetooth.CBUUID[]? peripheralUuids);
member this.ScanForPeripherals : CoreBluetooth.CBUUID[] -> unit
Parameters
- peripheralUuids
- CBUUID[]
An array of advertised UUIDs to scan for.
Applies to
ScanForPeripherals(CBUUID, NSDictionary)
Scans for peripherals that are advertising the specified serviceUuid with the specified options.
public void ScanForPeripherals(CoreBluetooth.CBUUID serviceUuid, Foundation.NSDictionary? options);
member this.ScanForPeripherals : CoreBluetooth.CBUUID * Foundation.NSDictionary -> unit
Parameters
- serviceUuid
- CBUUID
The advertised UUID to scan for.
- options
- NSDictionary
Any custom options for the scan.