DevicePermissions

Wisej.Hybrid.DevicePermissions

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.

public class DevicePermissions

Access this class through the Device singleton.

Constructors

Initializes a new instance of DevicePermissions.

Methods

Checks the status of the specified permission.

ParameterTypeDescription

type

The type of permission to check.

Returns: PermissionStatus. The current permission status (e.g., granted, denied).

Requests the specified permission from the user.

ParameterTypeDescription

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.

ParameterTypeDescription

type

The type of permission to check for rationale.

Returns: Boolean. true if rationale should be shown; otherwise, false.

Last updated