Class PermissionUtils


  • public final class PermissionUtils
    extends java.lang.Object
    • 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)