Share via


Permissions.BasePlatformPermission.RequestAsync Method

Definition

Requests this permission from the user for this application.

public:
 override System::Threading::Tasks::Task<Microsoft::Maui::ApplicationModel::PermissionStatus> ^ RequestAsync();
public override System.Threading.Tasks.Task<Microsoft.Maui.ApplicationModel.PermissionStatus> RequestAsync ();
override this.RequestAsync : unit -> System.Threading.Tasks.Task<Microsoft.Maui.ApplicationModel.PermissionStatus>
Public Overrides Function RequestAsync () As Task(Of PermissionStatus)

Returns

A PermissionStatus value indicating the result of this permission request.

Applies to