Delen via


EyesPose.RequestAccessAsync Method

Definition

Requests access for an app to use spatial eye gaze. This requires the gazeInput capability.

public:
 static IAsyncOperation<GazeInputAccessStatus> ^ RequestAccessAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<GazeInputAccessStatus> RequestAccessAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<GazeInputAccessStatus> RequestAccessAsync();
function requestAccessAsync()
Public Shared Function RequestAccessAsync () As IAsyncOperation(Of GazeInputAccessStatus)

Returns

Operation that triggers once the user has completed any consent dialog, providing the access status.

Attributes

Windows requirements

App capabilities
gazeInput

Applies to

See also