Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.45 KB

bluetoothleadvertisementpublisher_start_1587696324.md

File metadata and controls

28 lines (20 loc) · 1.45 KB
-api-id -api-type -api-device-family-note
M:Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisher.Start
winrt method
xbox

Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisher.Start

-description

Start advertising a Bluetooth LE advertisement payload.

-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.

-examples

-see-also

BluetoothLEAdvertisementPublisher.Stop, BluetoothLEAdvertisementPublisher.StatusChanged, BluetoothLEAdvertisementPublisherStatus, BluetoothLEAdvertisementPublisherStatusChangedEventArgs

-capabilities

bluetooth