Delen via


NDProximityDetectionType Enum

Definition

Indicates the transport protocol that the proximity detection process uses.

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
Inheritance
NDProximityDetectionType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
UDP 1

Proximity detection uses the UDP transport protocol.

TCP 2

Proximity detection uses the TCP transport protocol.

TransportAgnostic 4

Proximity detection can use either UDP or TCP as the transport protocol.

Applies to