Dela via


PeerWatcherStatus Enum

Definition

Describes the status of a PeerWatcher object.

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

Fields

Name Value Description
Created 0

The peer watcher has been created and can start watching for peer apps within wireless range.

Started 1

The peer watcher has started watching for peer apps within wireless range.

EnumerationCompleted 2

A scan operation is complete and all peer apps within wireless range have been found.

Stopping 3

The peer watcher is stopping.

Stopped 4

The peer watcher has stopped watching for peer apps within wireless range.

Aborted 5

Watching for peers has stopped due to a failure.

Applies to