checkPermission
Deprecated
Use Permission.check(context, permission) instead.
Check whether the application has a permission.
Return
Whether the application has the specified permission.
Parameters
permission
The permission to check.
Deprecated
Use Permission.checkCurrentStatus(context) instead.
Check whether the application has all permissions in a set.
Return
Whether the application has all specified permissions.
Parameters
permission
The permission set to check.