EsperRuntimePermissionManager

public class EsperRuntimePermissionManager extends AbstractManager<Service>

Properties

Link copied to clipboard
public final static int PERMISSION_STATE_DEFAULT
The user can manage the permission through the UI.
Link copied to clipboard
public final static int PERMISSION_STATE_GRANTED
The permission is granted to the app and also manageable through the app permission UI.
Link copied to clipboard
public final static int PERMISSION_STATE_REVOKED
The permission is denied to the app and also manageable through the app permission UI.

Functions

Link copied to clipboard
Link copied to clipboard
public void setPermissionState(String permission, int state)