CameraPermissionHelper

Helper to ask camera permission.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun hasCameraPermission(activity: Activity): Boolean
Check to see we have the necessary permissions for this app.
Link copied to clipboard
Launch Application Setting to grant permission.
Link copied to clipboard
open fun requestCameraPermission(activity: Activity)
Check to see we have the necessary permissions for this app, and ask for them if we don't.
Link copied to clipboard
Check to see if we need to show the rationale for this permission.