Delen via


GattServiceProvider.StartAdvertising Method

Definition

Overloads

StartAdvertising()

Start advertising the GATT service.

StartAdvertising(GattServiceProviderAdvertisingParameters)

Start advertising the GATT service.

StartAdvertising()

Start advertising the GATT service.

public:
 virtual void StartAdvertising() = StartAdvertising;
/// [Windows.Foundation.Metadata.Overload("StartAdvertising")]
void StartAdvertising();
[Windows.Foundation.Metadata.Overload("StartAdvertising")]
public void StartAdvertising();
function startAdvertising()
Public Sub StartAdvertising ()
Attributes

Windows requirements

App capabilities
bluetooth

Applies to

StartAdvertising(GattServiceProviderAdvertisingParameters)

Start advertising the GATT service.

public:
 virtual void StartAdvertising(GattServiceProviderAdvertisingParameters ^ parameters) = StartAdvertising;
/// [Windows.Foundation.Metadata.Overload("StartAdvertisingWithParameters")]
void StartAdvertising(GattServiceProviderAdvertisingParameters const& parameters);
[Windows.Foundation.Metadata.Overload("StartAdvertisingWithParameters")]
public void StartAdvertising(GattServiceProviderAdvertisingParameters parameters);
function startAdvertising(parameters)
Public Sub StartAdvertising (parameters As GattServiceProviderAdvertisingParameters)

Parameters

parameters
GattServiceProviderAdvertisingParameters

The advertising parameters.

Attributes

Windows requirements

App capabilities
bluetooth

Applies to