共用方式為


WiFiDirectAdvertisement.ListenStateDiscoverability 屬性

定義

取得或設定接聽狀態,以及是否可以探索 Wi-Fi Direct 裝置。

public:
 property WiFiDirectAdvertisementListenStateDiscoverability ListenStateDiscoverability { WiFiDirectAdvertisementListenStateDiscoverability get(); void set(WiFiDirectAdvertisementListenStateDiscoverability value); };
WiFiDirectAdvertisementListenStateDiscoverability ListenStateDiscoverability();

void ListenStateDiscoverability(WiFiDirectAdvertisementListenStateDiscoverability value);
public WiFiDirectAdvertisementListenStateDiscoverability ListenStateDiscoverability { get; set; }
var wiFiDirectAdvertisementListenStateDiscoverability = wiFiDirectAdvertisement.listenStateDiscoverability;
wiFiDirectAdvertisement.listenStateDiscoverability = wiFiDirectAdvertisementListenStateDiscoverability;
Public Property ListenStateDiscoverability As WiFiDirectAdvertisementListenStateDiscoverability

屬性值

接聽狀態,以及是否可以 Wi-Fi 直接裝置。

備註

此屬性的預設值為 None (無法探索) 。

適用於

另請參閱