GattServiceProvider.StartAdvertising Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
StartAdvertising() |
Start advertising the GATT service. |
StartAdvertising(GattServiceProviderAdvertisingParameters) |
Start advertising the GATT service. |
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
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
|