CBCentralManager.RetrieveConnectedPeripherals 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
RetrieveConnectedPeripherals() |
Developers should not use this deprecated method. Developers should use 'RetrievePeripheralsWithIdentifiers' instead. |
RetrieveConnectedPeripherals(CBUUID[]) |
Returns all connected peripherals that have services that are identified by the specified |
RetrieveConnectedPeripherals()
Developers should not use this deprecated method. Developers should use 'RetrievePeripheralsWithIdentifiers' instead.
[Foundation.Export("retrieveConnectedPeripherals")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'RetrievePeripheralsWithIdentifiers' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Obsoleted(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'RetrievePeripheralsWithIdentifiers' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RetrieveConnectedPeripherals ();
abstract member RetrieveConnectedPeripherals : unit -> unit
override this.RetrieveConnectedPeripherals : unit -> unit
- Attributes
Applies to
RetrieveConnectedPeripherals(CBUUID[])
Returns all connected peripherals that have services that are identified by the specified serviceUUIDs
.
[Foundation.Export("retrieveConnectedPeripheralsWithServices:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreBluetooth.CBPeripheral[] RetrieveConnectedPeripherals (params CoreBluetooth.CBUUID[] serviceUUIDs);
abstract member RetrieveConnectedPeripherals : CoreBluetooth.CBUUID[] -> CoreBluetooth.CBPeripheral[]
override this.RetrieveConnectedPeripherals : CoreBluetooth.CBUUID[] -> CoreBluetooth.CBPeripheral[]
Parameters
- serviceUUIDs
- CBUUID[]
Returns
- Attributes