GazeDeviceWatcherPreview GazeDeviceWatcherPreview GazeDeviceWatcherPreview GazeDeviceWatcherPreview GazeDeviceWatcherPreview Class


Dynamically detects and enumerates eye-tracking devices, and receives event notifications when a device is added, removed, or updated after the initial enumeration.

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

Windows 10 requirements

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


Start() Start() Start() Start() Start()

Starts monitoring the state of an eye-tracker device.

Stop() Stop() Stop() Stop() Stop()

Stops monitoring the state of an eye-tracker device.


Added Added Added Added Added

Occurs when a new eye-tracker device is detected.

EnumerationCompleted EnumerationCompleted EnumerationCompleted EnumerationCompleted EnumerationCompleted

Occurs when the GazeDeviceWatcherPreview finishes identifying the connected eye-tracker devices.

Removed Removed Removed Removed Removed

Occurs when an existing eye-tracker device is no longer detected.

Updated Updated Updated Updated Updated

Occurs when an update is made to an existing eye-tracker device, such as calibration.

See also