Dela via


BluetoothLEAdvertisementPublisherStatus Enum

Definition

Represents the possible states of the BluetoothLEAdvertisementPublisher.

public enum class BluetoothLEAdvertisementPublisherStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class BluetoothLEAdvertisementPublisherStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum BluetoothLEAdvertisementPublisherStatus
var value = Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisherStatus.created
Public Enum BluetoothLEAdvertisementPublisherStatus
Inheritance
BluetoothLEAdvertisementPublisherStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
bluetooth

Fields

Name Value Description
Created 0

The initial status of the publisher.

Waiting 1

The publisher is waiting to get service time.

Started 2

The publisher is being serviced and has started advertising.

Stopping 3

The publisher was issued a stop command.

Stopped 4

The publisher has stopped advertising.

Aborted 5

The publisher is aborted due to an error.

Applies to

See also