RfcommDeviceService.GetDeviceSelectorForBluetoothDeviceAndServiceId Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId) |
Mendapatkan string Advanced Query Syntax (AQS) untuk mengidentifikasi instans layanan Rfcomm pada perangkat Bluetooth jarak jauh. |
GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId, BluetoothCacheMode) |
Mendapatkan string Advanced Query Syntax (AQS) untuk mengidentifikasi instans layanan Rfcomm pada perangkat Bluetooth jarak jauh. |
GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId)
Mendapatkan string Advanced Query Syntax (AQS) untuk mengidentifikasi instans layanan Rfcomm pada perangkat Bluetooth jarak jauh.
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
Parameter
- bluetoothDevice
- BluetoothDevice
Perangkat Bluetooth jarak jauh.
- serviceId
- RfcommServiceId
ID layanan.
Mengembalikan
String AQS untuk mengidentifikasi instans layanan Rfcomm.
- Atribut
Persyaratan Windows
Rangkaian perangkat |
Windows 10 Anniversary Edition (diperkenalkan dalam 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v3.0)
|
Kemampuan aplikasi |
bluetooth
|
Lihat juga
Berlaku untuk
GetDeviceSelectorForBluetoothDeviceAndServiceId(BluetoothDevice, RfcommServiceId, BluetoothCacheMode)
Mendapatkan string Advanced Query Syntax (AQS) untuk mengidentifikasi instans layanan Rfcomm pada perangkat Bluetooth jarak jauh.
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
Parameter
- bluetoothDevice
- BluetoothDevice
Perangkat bluetooth jarak jauh.
- serviceId
- RfcommServiceId
ID layanan.
- cacheMode
- BluetoothCacheMode
Mode cache.
Mengembalikan
String AQS untuk mengidentifikasi instans layanan Rfcomm.
- Atribut
Persyaratan Windows
Rangkaian perangkat |
Windows 10 Anniversary Edition (diperkenalkan dalam 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v3.0)
|
Kemampuan aplikasi |
bluetooth
|
Lihat juga
Berlaku untuk
Saran dan Komentar
Kirim dan lihat umpan balik untuk