-
public class PermissionHelper* Helper class for checking permissions
-
-
Method Summary
Modifier and Type Method Description static booleanisPermissionForBluetoothGranted(Context context)Check if permission for Bluetooth is granted (permission. static booleanisPermissionForInternetGranted(Context context)Check if permission for Internet is granted (permission. static booleanisPermissionForAccessWifiStateGranted(Context context)Check if permission for Wifi state is granted (permission. static booleanisPermissionForReadExternalStorageGranted(Context context)Check if permission to Read external storage is granted (permission. -
-
Method Detail
-
isPermissionForBluetoothGranted
static boolean isPermissionForBluetoothGranted(Context context)
Check if permission for Bluetooth is granted (permission.BLUETOOTH)
-
isPermissionForInternetGranted
static boolean isPermissionForInternetGranted(Context context)
Check if permission for Internet is granted (permission.INTERNET)
-
isPermissionForAccessWifiStateGranted
static boolean isPermissionForAccessWifiStateGranted(Context context)
Check if permission for Wifi state is granted (permission.ACCESS_WIFI_STATE)
-
isPermissionForReadExternalStorageGranted
static boolean isPermissionForReadExternalStorageGranted(Context context)
Check if permission to Read external storage is granted (permission.READ_EXTERNAL_STORAGE)
-
-
-
-