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.
Parameter | Type | Description |
---|---|---|
Returns: PermissionStatus. The current permission status (e.g., granted, denied).
Requests the specified permission from the user.
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.
Returns: Boolean. true if rationale should be shown; otherwise, false.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
type
The type of permission to request.
type
The type of permission to check for rationale.
type
The type of permission to check.