BluetoothDevice.GetRfcommServicesAsync Metode

Definisi

Overload

GetRfcommServicesAsync()

Mengambil semua Layanan Rfcomm pada Perangkat Bluetooth jarak jauh.

GetRfcommServicesAsync(BluetoothCacheMode)

Mengambil semua Layanan Rfcomm yang di-cache pada Perangkat Bluetooth jarak jauh.

GetRfcommServicesAsync()

Mengambil semua Layanan Rfcomm pada Perangkat Bluetooth jarak jauh.

public:
 virtual IAsyncOperation<RfcommDeviceServicesResult ^> ^ GetRfcommServicesAsync() = GetRfcommServicesAsync;
/// [Windows.Foundation.Metadata.Overload("GetRfcommServicesAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesAsync();
[Windows.Foundation.Metadata.Overload("GetRfcommServicesAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesAsync();
function getRfcommServicesAsync()
Public Function GetRfcommServicesAsync () As IAsyncOperation(Of RfcommDeviceServicesResult)

Mengembalikan

Setelah operasi asinkron selesai, mengembalikan objek RfcommDeviceServicesResult .

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

GetRfcommServicesAsync(BluetoothCacheMode)

Mengambil semua Layanan Rfcomm yang di-cache pada Perangkat Bluetooth jarak jauh.

public:
 virtual IAsyncOperation<RfcommDeviceServicesResult ^> ^ GetRfcommServicesAsync(BluetoothCacheMode cacheMode) = GetRfcommServicesAsync;
/// [Windows.Foundation.Metadata.Overload("GetRfcommServicesWithCacheModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesAsync(BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetRfcommServicesWithCacheModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesAsync(BluetoothCacheMode cacheMode);
function getRfcommServicesAsync(cacheMode)
Public Function GetRfcommServicesAsync (cacheMode As BluetoothCacheMode) As IAsyncOperation(Of RfcommDeviceServicesResult)

Parameter

cacheMode
BluetoothCacheMode

Mode cache.

Mengembalikan

Setelah operasi asinkron selesai, mengembalikan objek RfcommDeviceServicesResult .

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