GattLocalService Class

Definition

This class represents a GATT local service.

public ref class GattLocalService sealed
class GattLocalService sealed
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772163)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GattLocalService
Public NotInheritable Class GattLocalService
Inheritance
GattLocalService
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
bluetooth

Properties

Characteristics

Gets a vector list of the characteristics available for this local service.

Uuid

Gets the local service UUID.

Methods

CreateCharacteristicAsync(Guid, GattLocalCharacteristicParameters)

Creates a characteristic for this local service.

Applies to