public class Permissions
extends java.lang.Object
Constructor and Description |
---|
Permissions() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkPermission(android.content.Context context,
java.lang.String permission)
Check to make sure that the required permission has been granted.
|
public static boolean checkPermission(android.content.Context context, java.lang.String permission)
context
- the contextpermission
- the permission