Delen via


WiFiDirectAdvertisementPublisherStatus Enum

Definition

Represents the possible states of the WiFiDirectAdvertisementPublisher.

public enum class WiFiDirectAdvertisementPublisherStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WiFiDirectAdvertisementPublisherStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WiFiDirectAdvertisementPublisherStatus
var value = Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisherStatus.created
Public Enum WiFiDirectAdvertisementPublisherStatus
Inheritance
WiFiDirectAdvertisementPublisherStatus
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)

Fields

Name Value Description
Created 0

The initial status of the publisher.

Started 1

The publisher is started and advertisements are being published.

Stopped 2

The publisher is stopped.

Aborted 3

The publisher is aborted due to error.

Applies to

See also