Udostępnij za pośrednictwem


GazeDevicePreview Class

Definition

Supports the ability to identify and manage all connected eye-tracker devices.

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

CanTrackEyes

Gets whether the eye-tracking device can detect and track the user's eyes.

CanTrackHead

Gets whether the eye-tracking device can detect and track the user's head.

ConfigurationState

Gets the configuration state of the eye-tracking device.

Id

Gets a unique identifier for the eye-tracking device.

Methods

GetBooleanControlDescriptions(UInt16, UInt16)

Retrieves the boolean control descriptions for the eye-tracking device.

GetNumericControlDescriptions(UInt16, UInt16)

Retrieves the numeric control description for the eye-tracking device.

RequestCalibrationAsync()

Asynchronously requests the eye-tracking device start its calibration process.

Applies to

See also