Permissions.BasePlatformPermission 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.
Represents the platform-specific abstract base class for all permissions on this platform.
public: ref class Permissions::BasePlatformPermission abstract : Microsoft::Maui::ApplicationModel::Permissions::BasePermission
public abstract class Permissions.BasePlatformPermission : Microsoft.Maui.ApplicationModel.Permissions.BasePermission
type Permissions.BasePlatformPermission = class
inherit Permissions.BasePermission
Public MustInherit Class Permissions.BasePlatformPermission
Inherits Permissions.BasePermission
- Inheritance
- Derived
Constructors
Permissions.BasePlatformPermission() |
Initializes a new instance of the Permissions.BasePlatformPermission class. |
Methods
CheckStatusAsync() |
Retrieves the current status of this permission. |
EnsureDeclared() |
Ensures that a required entry matching this permission is found in the application manifest file. |
RequestAsync() |
Requests this permission from the user for this application. |
ShouldShowRationale() |
Determines if an educational UI should be displayed explaining to the user how this permission will be used in the application. |
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin