GattServiceProviderAdvertisingParameters GattServiceProviderAdvertisingParameters GattServiceProviderAdvertisingParameters GattServiceProviderAdvertisingParameters Class

Definition

This class is used to define a GATT service advertisement parameters.

public : sealed class GattServiceProviderAdvertisingParameters : IGattServiceProviderAdvertisingParameterspublic sealed class GattServiceProviderAdvertisingParameters : IGattServiceProviderAdvertisingParametersPublic NotInheritable Class GattServiceProviderAdvertisingParameters Implements IGattServiceProviderAdvertisingParameters// 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)

Constructors

GattServiceProviderAdvertisingParameters() GattServiceProviderAdvertisingParameters() GattServiceProviderAdvertisingParameters() GattServiceProviderAdvertisingParameters()

Creates a new GattServiceProviderAdvertisingParameters object.

public : GattServiceProviderAdvertisingParameters()public GattServiceProviderAdvertisingParameters()Public Sub New()// You can use this method in JavaScript.

Properties

IsConnectable IsConnectable IsConnectable IsConnectable

Gets or sets a boolean that indicates if the GATT service is connectable.

public : PlatForm::Boolean IsConnectable { get; set; }public bool IsConnectable { get; set; }Public ReadWrite Property IsConnectable As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

A boolean that indicates if the GATT service is connectable.

IsDiscoverable IsDiscoverable IsDiscoverable IsDiscoverable

Gets or sets a boolean indicating that the GATT service is discoverable.

public : PlatForm::Boolean IsDiscoverable { get; set; }public bool IsDiscoverable { get; set; }Public ReadWrite Property IsDiscoverable As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

A boolean indicating that the GATT service is discoverable.