BluetoothDevice.GetRfcommServicesAsync Metodo

Definizione

Overload

GetRfcommServicesAsync()

Recupera tutti i servizi Rfcomm nel dispositivo Bluetooth remoto.

GetRfcommServicesAsync(BluetoothCacheMode)

Recupera tutti i servizi Rfcomm memorizzati nella cache nel dispositivo Bluetooth remoto.

GetRfcommServicesAsync()

Recupera tutti i servizi Rfcomm nel dispositivo Bluetooth remoto.

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)

Restituisce

Al termine dell'operazione asincrona, restituisce un oggetto RfcommDeviceServicesResult .

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v3.0)
Funzionalità dell'app
bluetooth

Vedi anche

Si applica a

GetRfcommServicesAsync(BluetoothCacheMode)

Recupera tutti i servizi Rfcomm memorizzati nella cache nel dispositivo Bluetooth remoto.

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)

Parametri

cacheMode
BluetoothCacheMode

Modalità cache.

Restituisce

Al termine dell'operazione asincrona, restituisce un oggetto RfcommDeviceServicesResult .

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v3.0)
Funzionalità dell'app
bluetooth

Vedi anche

Si applica a