DevicePermissions
Wisej.Hybrid.DevicePermissions
Last updated
Wisej.Hybrid.DevicePermissions
Last updated
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (3.5.0.0)
Provides methods for interacting with device permissions, such as requesting, checking, and displaying rationale for permissions.
Access this class through the Device singleton.
Initializes a new instance of DevicePermissions.
Checks the status of the specified permission.
type
The type of permission to check.
Returns: PermissionStatus. The current permission status (e.g., granted, denied).
Requests the specified permission from the user.
type
The type of permission to request.
Returns: PermissionStatus. The permission status indicating whether the permission was granted or denied.
Determines if an educational user interface should be displayed to explain how the specified permission will be used in the application.
type
The type of permission to check for rationale.
Returns: Boolean. true if rationale should be shown; otherwise, false.