GattServiceProviderConnection GattServiceProviderConnection GattServiceProviderConnection GattServiceProviderConnection Class

Definition

This class represents a gatt service provider connection.

public : sealed class GattServiceProviderConnection : IGattServiceProviderConnectionpublic sealed class GattServiceProviderConnection : IGattServiceProviderConnectionPublic NotInheritable Class GattServiceProviderConnection Implements IGattServiceProviderConnection// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Properties

AllServices AllServices AllServices AllServices

Gets all the services.

public : static IMapView<string, GattServiceProviderConnection> AllServices { get; }public static IReadOnlyDictionary<string, GattServiceProviderConnection> AllServices { get; }Public Static ReadOnly Property AllServices As IReadOnlyDictionary<string, GattServiceProviderConnection>// You can use this property in JavaScript.
Value
IMapView<PlatForm::String, GattServiceProviderConnection> IReadOnlyDictionary<string, GattServiceProviderConnection> IReadOnlyDictionary<string, GattServiceProviderConnection> IReadOnlyDictionary<string, GattServiceProviderConnection>

Gets all the services.

Service Service Service Service

Gets the local GATT service.

public : GattLocalService Service { get; }public GattLocalService Service { get; }Public ReadOnly Property Service As GattLocalService// You can use this property in JavaScript.

TriggerId TriggerId TriggerId TriggerId

Gets GATT service connection trigger ID.

public : PlatForm::String TriggerId { get; }public string TriggerId { get; }Public ReadOnly Property TriggerId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

Gets GATT service connection trigger ID.

Methods

Start() Start() Start() Start()

Starts a GATT service provider connection.

public : void Start()public void Start()Public Function Start() As void// You can use this method in JavaScript.