GazeInputSourcePreview GazeInputSourcePreview GazeInputSourcePreview GazeInputSourcePreview GazeInputSourcePreview Class

Definition

Represents the eyes and head of the user identified by an eye-tracking device.

public : sealed class GazeInputSourcePreview
struct winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview
public sealed class GazeInputSourcePreview
Public NotInheritable Class GazeInputSourcePreview
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

Remarks

This object is associated with an application's UI thread.

Methods

CreateWatcher() CreateWatcher() CreateWatcher() CreateWatcher() CreateWatcher()

Creates an object for monitoring the state of the eye-tracker device associated with the current view.

GetForCurrentView() GetForCurrentView() GetForCurrentView() GetForCurrentView() GetForCurrentView()

Retrieves a reference to the user identified by an eye-tracking device, bound to the active application.

Events

GazeEntered GazeEntered GazeEntered GazeEntered GazeEntered

Occurs when the eye-tracking device detects that the gaze point has entered the bounding area of the element.

GazeExited GazeExited GazeExited GazeExited GazeExited

Occurs when the eye-tracking device detects that the gaze point has moved outside the bounding area of the element.

GazeMoved GazeMoved GazeMoved GazeMoved GazeMoved

Occurs when the eye-tracking device detects eye movement and the gaze pointer remains within the bounding rectangle of the element.

See also