Permissions Class
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.
The Permissions API provides the ability to check and request runtime permissions.
public ref class Permissions abstract sealed
public static class Permissions
type Permissions = class
Public Class Permissions
- Inheritance
-
Permissions
Methods
CheckStatusAsync<TPermission>() |
Retrieves the current status of the permission. |
RequestAsync<TPermission>() |
Requests the permission from the user for this application. |
ShouldShowRationale<TPermission>() |
Determines if an educational UI should be displayed explaining to the user how the permission will be used in the application. |
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.