EyesPose.RequestAccessAsync EyesPose.RequestAccessAsync EyesPose.RequestAccessAsync EyesPose.RequestAccessAsync EyesPose.RequestAccessAsync Method

Definition

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

public : static IAsyncOperation<GazeInputAccessStatus> RequestAccessAsync()
static IAsyncOperation<GazeInputAccessStatus> RequestAccessAsync() const;
public static IAsyncOperation<GazeInputAccessStatus> RequestAccessAsync()
Public Shared Function RequestAccessAsync() As IAsyncOperation(Of GazeInputAccessStatus)
Windows.Perception.People.EyesPose.requestAccessAsync().done( /* Your success and error handlers */ );

Returns

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

Additional features and requirements

Capabilities
gazeInput

See also