ensureCameraPermission
abstract fun ensureCameraPermission(onCameraReady: () -> Unit, onUserDeniedCameraPermission: () -> Unit)
Checks if current app has camera permission, prompts the user to grant permission if needed. Invokes onCameraReady when the app already has permission or user grants permission. Invokes onUserDeniedCameraPermission if user denied the permission.