requestCameraPermission

public final Unit requestCameraPermission(Activity activity, View qrScannerView)

This method is used to request for camera permission.

Parameters

activity

The activity to show the snackbar in

viewCamera

The view to which the snackbar should be attached