GattDeviceService.GetIncludedServicesForUuidAsync 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
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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk