BluetoothLEAdvertisementPublisher.Start Method
Definition
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.
Start advertising a Bluetooth LE advertisement payload.
public:
virtual void Start() = Start;
void Start();
public void Start();
function start()
Public Sub Start ()
Windows requirements
App capabilities |
bluetooth
|
Remarks
The status of the BluetoothLEAdvertisementPublisher will transition to Started or Waiting depending on whether the advertisement can be serviced or to the Aborted state if the request failed immediately due to error.
If the Start method is called in the Stopping state, the request will be pended and the state will remain in the Stopping state until the request completes, at which time a new request will be sent and the state will transition into Started.
The BluetoothLEAdvertisementPublisher will be automatically stopped when an app is suspended.