共用方式為


GazeMovedPreviewEventArgs 類別

定義

提供 GazeMoved 事件的事件資料。

public ref class GazeMovedPreviewEventArgs 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 GazeMovedPreviewEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GazeMovedPreviewEventArgs 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 GazeMovedPreviewEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class GazeMovedPreviewEventArgs
Public NotInheritable Class GazeMovedPreviewEventArgs
繼承
Object Platform::Object IInspectable GazeMovedPreviewEventArgs
屬性

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)

屬性

CurrentPoint

從最新的GazeMoved事件取得注視指標資料。

Handled

取得或設定值,這個值表示 是否已處理 GazeMoved 事件。

方法

GetIntermediatePoints()

擷取自最近GazeMoved事件以來所記錄之每個注視位置的注視資料,最多包含目前的事件。

適用於

另請參閱