CameraPermissionCallbacks

Interface for receiving camera permission-related events during the camera lifecycle.

This interface provides callbacks for different stages of the camera permission flow, enabling analytics tracking and UI updates based on permission state changes. The callbacks follow the typical Android permission request flow.

Functions

Link copied to clipboard

Called when the camera permission status is being checked.

Link copied to clipboard

Called when a camera permission request is initiated. This function is invoked just before showing the system permission dialog to the user.

Link copied to clipboard
abstract fun onCameraPermissionUserResponse(cameraPermissionGranted: Boolean)

Called when the user responds to the camera permission request. This function is invoked after the user grants or denies the camera permission request.