RfcommDeviceService.GetDeviceSelectorForBluetoothDeviceAndServiceId 메서드

정의

오버로드

GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId)

원격 Bluetooth 디바이스에서 Rfcomm 서비스 인스턴스를 식별하기 위한 AQS(고급 쿼리 구문) 문자열을 가져옵니다.

GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId, BluetoothCacheMode)

원격 Bluetooth 디바이스에서 Rfcomm 서비스 인스턴스를 식별하기 위한 AQS(고급 쿼리 구문) 문자열을 가져옵니다.

GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId)

원격 Bluetooth 디바이스에서 Rfcomm 서비스 인스턴스를 식별하기 위한 AQS(고급 쿼리 구문) 문자열을 가져옵니다.

public:
 static Platform::String ^ GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice ^ bluetoothDevice, RfcommServiceId ^ serviceId);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorForBluetoothDeviceAndServiceId")]
 static winrt::hstring GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice const& bluetoothDevice, RfcommServiceId const& serviceId);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorForBluetoothDeviceAndServiceId")]
public static string GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice bluetoothDevice, RfcommServiceId serviceId);
function getDeviceSelectorForBluetoothDeviceAndServiceId(bluetoothDevice, serviceId)
Public Shared Function GetDeviceSelectorForBluetoothDeviceAndServiceId (bluetoothDevice As BluetoothDevice, serviceId As RfcommServiceId) As String

매개 변수

bluetoothDevice
BluetoothDevice

원격 Bluetooth 디바이스입니다.

serviceId
RfcommServiceId

서비스 ID입니다.

반환

String

Platform::String

winrt::hstring

Rfcomm 서비스의 인스턴스를 식별하기 위한 AQS 문자열입니다.

특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Anniversary Edition (10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v3.0에서 도입되었습니다.)
앱 기능
bluetooth

추가 정보

적용 대상

GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId, BluetoothCacheMode)

원격 Bluetooth 디바이스에서 Rfcomm 서비스 인스턴스를 식별하기 위한 AQS(고급 쿼리 구문) 문자열을 가져옵니다.

public:
 static Platform::String ^ GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice ^ bluetoothDevice, RfcommServiceId ^ serviceId, BluetoothCacheMode cacheMode);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorForBluetoothDeviceAndServiceIdWithCacheMode")]
 static winrt::hstring GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice const& bluetoothDevice, RfcommServiceId const& serviceId, BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorForBluetoothDeviceAndServiceIdWithCacheMode")]
public static string GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice bluetoothDevice, RfcommServiceId serviceId, BluetoothCacheMode cacheMode);
function getDeviceSelectorForBluetoothDeviceAndServiceId(bluetoothDevice, serviceId, cacheMode)
Public Shared Function GetDeviceSelectorForBluetoothDeviceAndServiceId (bluetoothDevice As BluetoothDevice, serviceId As RfcommServiceId, cacheMode As BluetoothCacheMode) As String

매개 변수

bluetoothDevice
BluetoothDevice

원격 Bluetooth 디바이스입니다.

serviceId
RfcommServiceId

서비스 ID입니다.

cacheMode
BluetoothCacheMode

캐시 모드입니다.

반환

String

Platform::String

winrt::hstring

Rfcomm 서비스의 인스턴스를 식별하기 위한 AQS 문자열입니다.

특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Anniversary Edition (10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v3.0에서 도입되었습니다.)
앱 기능
bluetooth

추가 정보

적용 대상