Share via


CBCentralManager.RetrieveConnectedPeripherals(CBUUID[]) Method

Definition

Returns all connected peripherals that have services that are identified by the specified serviceUUIDs.

[Foundation.Export("retrieveConnectedPeripheralsWithServices:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreBluetooth.CBPeripheral[] RetrieveConnectedPeripherals(params CoreBluetooth.CBUUID[] serviceUUIDs);
[<Foundation.Export("retrieveConnectedPeripheralsWithServices:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RetrieveConnectedPeripherals : CoreBluetooth.CBUUID[] -> CoreBluetooth.CBPeripheral[]
override this.RetrieveConnectedPeripherals : CoreBluetooth.CBUUID[] -> CoreBluetooth.CBPeripheral[]

Parameters

serviceUUIDs
CBUUID[]

Returns

Attributes

Applies to