PermissionUtil
The PermissionUtil
class defines the methods for requesting the camera permission.
final class PermissionUtil
Methods | Description |
---|---|
requestCameraPermission |
Trigger to request the camera permission. |
requestCameraPermission
Trigger to request the camera permission.
static void requestCameraPermission(@NonNull Activity activity)
Parameters
activity
: The activity that you want to request the camera permission