NDProximityDetectionType 枚举

定义

指示邻近检测进程使用的传输协议。

public enum class NDProximityDetectionType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class NDProximityDetectionType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("NDProximityDetectionType is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
enum class NDProximityDetectionType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum NDProximityDetectionType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("NDProximityDetectionType is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public enum NDProximityDetectionType
var value = Windows.Media.Protection.PlayReady.NDProximityDetectionType.uDP
Public Enum NDProximityDetectionType
继承
NDProximityDetectionType
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

字段

TCP 2

邻近感应检测使用 TCP 传输协议。

TransportAgnostic 4

邻近感应检测可以使用 UDP 或 TCP 作为传输协议。

UDP 1

邻近感应检测使用 UDP 传输协议。

适用于