Permissions.BasePlatformPermission.RequestAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.