GattDeviceService.GetIncludedServicesForUuidAsync Metode

Definisi

Overload

GetIncludedServicesForUuidAsync(Guid)

Mendapatkan layanan yang disertakan dari serviceUuid yang terkait dengan instans GattDeviceService ini.

GetIncludedServicesForUuidAsync(Guid, BluetoothCacheMode)

Mendapatkan layanan yang disertakan dari serviceUuid yang terkait dengan instans GattDeviceService ini.

GetIncludedServicesForUuidAsync(Guid)

Mendapatkan layanan yang disertakan dari serviceUuid yang terkait dengan instans GattDeviceService ini.

public:
 virtual IAsyncOperation<GattDeviceServicesResult ^> ^ GetIncludedServicesForUuidAsync(Platform::Guid serviceUuid) = GetIncludedServicesForUuidAsync;
/// [Windows.Foundation.Metadata.Overload("GetIncludedServicesForUuidAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattDeviceServicesResult> GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid);
[Windows.Foundation.Metadata.Overload("GetIncludedServicesForUuidAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattDeviceServicesResult> GetIncludedServicesForUuidAsync(Guid serviceUuid);
function getIncludedServicesForUuidAsync(serviceUuid)
Public Function GetIncludedServicesForUuidAsync (serviceUuid As Guid) As IAsyncOperation(Of GattDeviceServicesResult)

Parameter

serviceUuid
Guid

Platform::Guid

winrt::guid

UUID Layanan GATT Bluetooth 128-bit, direpresentasikan sebagai objek GUID standar.

Mengembalikan

Operasi asinkron yang selesai dengan objek GattDeviceServicesResult.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)
Kemampuan aplikasi
bluetooth

Berlaku untuk

GetIncludedServicesForUuidAsync(Guid, BluetoothCacheMode)

Mendapatkan layanan yang disertakan dari serviceUuid yang terkait dengan instans GattDeviceService ini.

public:
 virtual IAsyncOperation<GattDeviceServicesResult ^> ^ GetIncludedServicesForUuidAsync(Platform::Guid serviceUuid, BluetoothCacheMode cacheMode) = GetIncludedServicesForUuidAsync;
/// [Windows.Foundation.Metadata.Overload("GetIncludedServicesForUuidWithCacheModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattDeviceServicesResult> GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid, BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetIncludedServicesForUuidWithCacheModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattDeviceServicesResult> GetIncludedServicesForUuidAsync(Guid serviceUuid, BluetoothCacheMode cacheMode);
function getIncludedServicesForUuidAsync(serviceUuid, cacheMode)
Public Function GetIncludedServicesForUuidAsync (serviceUuid As Guid, cacheMode As BluetoothCacheMode) As IAsyncOperation(Of GattDeviceServicesResult)

Parameter

serviceUuid
Guid

Platform::Guid

winrt::guid

UUID Layanan GATT Bluetooth 128-bit, direpresentasikan sebagai objek GUID standar.

cacheMode
BluetoothCacheMode

Mode cache.

Mengembalikan

Operasi asinkron yang selesai dengan objek GattDeviceServicesResult.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)
Kemampuan aplikasi
bluetooth

Berlaku untuk