共用方式為


WiFiDirectAdvertisementListenStateDiscoverability 列舉

定義

指定直接裝置是否正在接聽和可探索 Wi-Fi。

public enum class WiFiDirectAdvertisementListenStateDiscoverability
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WiFiDirectAdvertisementListenStateDiscoverability
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WiFiDirectAdvertisementListenStateDiscoverability
var value = Windows.Devices.WiFiDirect.WiFiDirectAdvertisementListenStateDiscoverability.none
Public Enum WiFiDirectAdvertisementListenStateDiscoverability
繼承
WiFiDirectAdvertisementListenStateDiscoverability
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

欄位

Intensive 2

當應用程式位於前景或背景時,裝置即可供探索。

None 0

裝置無法探索。

Normal 1

只要應用程式位於前景,裝置就可高度探索。

適用於