GazeDevicePreview 类

定义

支持识别和管理所有连接的眼动跟踪器设备的功能。

public ref class GazeDevicePreview sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GazeDevicePreview final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GazeDevicePreview final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GazeDevicePreview
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class GazeDevicePreview
Public NotInheritable Class GazeDevicePreview
继承
Object Platform::Object IInspectable GazeDevicePreview
属性

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

属性

CanTrackEyes

获取眼动跟踪设备是否可以检测和跟踪用户的眼睛。

CanTrackHead

获取眼动跟踪设备是否可以检测和跟踪用户的头部。

ConfigurationState

获取目视跟踪设备的配置状态。

Id

获取眼动跟踪设备的唯一标识符。

方法

GetBooleanControlDescriptions(UInt16, UInt16)

检索眼动跟踪设备的布尔控件说明。

GetNumericControlDescriptions(UInt16, UInt16)

检索眼动跟踪设备的数字控件说明。

RequestCalibrationAsync()

异步请求眼动跟踪设备启动其校准过程。

适用于

另请参阅