isCameraPermissionGranted

public final Boolean isCameraPermissionGranted(Activity activity)

This method is used to check if the camera permission is granted.

Return

Boolean - true if the camera permission is granted, false otherwise

Parameters

activity

The activity to show the snackbar in