Package com.banuba.sdk.internal.utils
Class PermissionUtils
- java.lang.Object
-
- com.banuba.sdk.internal.utils.PermissionUtils
-
public final class PermissionUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isCameraPermissionGranted(android.content.Context context)
static boolean
isMicrophoneDenied(android.app.Activity activity)
static boolean
isMicrophonePermissionGranted(android.content.Context context)
static boolean
isPermissionGranted(android.content.Context context, java.lang.String permission)
static boolean
isPermissionGrantedWithMCheck(java.lang.String permission, android.content.Context context)
-
-
-
Method Detail
-
isPermissionGrantedWithMCheck
public static boolean isPermissionGrantedWithMCheck(@NonNull java.lang.String permission, android.content.Context context)
-
isCameraPermissionGranted
public static boolean isCameraPermissionGranted(android.content.Context context)
-
isPermissionGranted
public static boolean isPermissionGranted(@NonNull android.content.Context context, @NonNull java.lang.String permission)
-
isMicrophoneDenied
public static boolean isMicrophoneDenied(@NonNull android.app.Activity activity)
-
isMicrophonePermissionGranted
public static boolean isMicrophonePermissionGranted(android.content.Context context)
-
-