CBCentralManager.RetrieveConnectedPeripherals 메서드

정의

오버로드

RetrieveConnectedPeripherals()

개발자는 이 사용되지 않는 메서드를 사용하면 안 됩니다. 개발자는 대신 'RetrievePeripheralsWithIdentifiers'를 사용해야 합니다.

RetrieveConnectedPeripherals(CBUUID[])

지정된 serviceUUIDs로 식별되는 서비스가 있는 연결된 모든 주변 장치를 반환합니다.

RetrieveConnectedPeripherals()

개발자는 이 사용되지 않는 메서드를 사용하면 안 됩니다. 개발자는 대신 'RetrievePeripheralsWithIdentifiers'를 사용해야 합니다.

[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
특성

적용 대상

RetrieveConnectedPeripherals(CBUUID[])

지정된 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[]

매개 변수

serviceUUIDs
CBUUID[]

반환

특성

적용 대상