共用方式為


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 傳輸通訊協定。

適用於