Share via


GattDeviceService.GetIncludedServices(Guid) Method

Definition

Returns a vector of included services, that are identified by the specified UUID and belong to this GattDeviceService instance.

Important

The GetIncludedServices API is deprecated, and it may not be available in future versions of Windows. Instead, use GetIncludedServicesForUuidAsync.

public:
 virtual IVectorView<GattDeviceService ^> ^ GetIncludedServices(Platform::Guid serviceUuid) = GetIncludedServices;
IVectorView<GattDeviceService> GetIncludedServices(winrt::guid const& serviceUuid);
/// [Windows.Foundation.Metadata.Deprecated("Use GetIncludedServicesForUuidAsync instead of GetIncludedServices.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IVectorView<GattDeviceService> GetIncludedServices(winrt::guid const& serviceUuid);
public IReadOnlyList<GattDeviceService> GetIncludedServices(Guid serviceUuid);
[Windows.Foundation.Metadata.Deprecated("Use GetIncludedServicesForUuidAsync instead of GetIncludedServices.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public IReadOnlyList<GattDeviceService> GetIncludedServices(Guid serviceUuid);
function getIncludedServices(serviceUuid)
Public Function GetIncludedServices (serviceUuid As Guid) As IReadOnlyList(Of GattDeviceService)

Parameters

serviceUuid
Guid

Platform::Guid

winrt::guid

The UUID for the included services to be retrieved.

Returns

A vector of included services whose UUIDs match serviceUuid.

Attributes

Windows requirements

App capabilities
bluetooth

Applies to