WiFiDirectConnectionParameters 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public ref class WiFiDirectConnectionParameters sealed
public ref class WiFiDirectConnectionParameters sealed : IDevicePairingSettings
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WiFiDirectConnectionParameters final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class WiFiDirectConnectionParameters final : IDevicePairingSettings
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WiFiDirectConnectionParameters
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class WiFiDirectConnectionParameters : IDevicePairingSettings
function WiFiDirectConnectionParameters()
Public NotInheritable Class WiFiDirectConnectionParameters
Public NotInheritable Class WiFiDirectConnectionParameters
Implements IDevicePairingSettings
- 繼承
- 屬性
- 實作
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 引進)
|
備註
版本歷程記錄
Windows 版本 | SDK 版本 | 已新增值 |
---|---|---|
1511 | 10586 | GetDevicePairingKinds |
1511 | 10586 | PreferenceOrderedConfigurationMethods |
1511 | 10586 | PreferredPairingProcedure |
建構函式
WiFiDirectConnectionParameters() |
建立新的 WiFiDirectConnectionParameters 物件。 |
屬性
GroupOwnerIntent |
Wi-Fi Direct connect/pairing 作業中用於群組擁有者交涉的群組擁有者意圖值。 |
PreferenceOrderedConfigurationMethods |
依喜好設定順序取得支援的組態方法清單。 |
PreferredPairingProcedure |
取得或設定值,指定裝置慣用的配對程式。 |
方法
GetDevicePairingKinds(WiFiDirectConfigurationMethod) |
取得支援指定組態方法的 DevicePairingKinds 清單。 |