Aracılığıyla paylaş


GazeInputAccessStatus Enum

Definition

Specifies the permission state for tracking the user's gaze.

public enum class GazeInputAccessStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
enum class GazeInputAccessStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
public enum GazeInputAccessStatus
var value = Windows.UI.Input.GazeInputAccessStatus.unspecified
Public Enum GazeInputAccessStatus
Inheritance
GazeInputAccessStatus
Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Fields

Name Value Description
Unspecified 0

The user has not specified whether the app can track their gaze.

Allowed 1

The user has given permission for the app to to track their gaze.

DeniedByUser 2

The user has denied permission for the app to track their gaze.

DeniedBySystem 3

The system has denied permission for the app to track the user's gaze.

Remarks

Due to the potentially sensitive personal data collected by eye tracking devices, you are required to declare the 'gazeInput' capability in the app manifest of your UWP application. When declared, Windows automatically prompts users with a consent dialog (when the app is first run), where the user must grant permission for the app to communicate with the eye-tracking device and access this data.

In addition, if your app collects, stores, or transfers eye tracking data, you must describe this in your app's privacy statement and follow all other requirements for Personal Information in the App Developer Agreement and the Microsoft Store Policies.

Applies to

See also