BluetoothLEAdvertisementWatcher.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 the BluetoothLEAdvertisementWatcher to scan for Bluetooth LE advertisements.
public:
virtual void Start() = Start;
void Start();
public void Start();
function start()
Public Sub Start ()
Windows requirements
App capabilities |
bluetooth
|
Remarks
This method will transition the BluetoothLEAdvertisementWatcher to the Started state immediately with a pending scan request or to the Aborted state if the request failed immediately due to error.
If this 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 to the Started state.
The BluetoothLEAdvertisementWatcher will be automatically stopped when an app is suspended.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for