共用方式為


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()

以非同步方式要求眼球追蹤裝置開始其校正程式。

適用於

另請參閱