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 直接连接/配对操作中的组所有者协商的组所有者意向值。 |
PreferenceOrderedConfigurationMethods |
按优先顺序获取受支持的配置方法的列表。 |
PreferredPairingProcedure |
获取或设置一个值,该值指定设备的首选配对过程。 |
方法
GetDevicePairingKinds(WiFiDirectConfigurationMethod) |
获取支持给定配置方法的 DevicePairingKinds 的列表。 |