Udostępnij za pośrednictwem


GazeMovedPreviewEventArgs Class

Definition

Provides event data for the GazeMoved event.

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
Inheritance
Object Platform::Object IInspectable GazeMovedPreviewEventArgs
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Properties

CurrentPoint

Gets the gaze pointer data from the most recent GazeMoved event.

Handled

Gets or sets a value that indicates whether the GazeMoved event has been handled.

Methods

GetIntermediatePoints()

Retrieves the gaze point data for each gaze location logged since the most recent GazeMoved event, up to and including the current event.

Applies to

See also