CameraCapturerState

class CameraCapturerState(val capturedFile: File?, val capture: () -> Unit, val clear: () -> Unit, deniedPermissionState: DeniedPermissionState) : DeniedPermissionState

Represents the state of the camera capturer. This inherits DeniedPermissionState to handle cases when the permission is denied.

Since

1.0.0-beta.1

Constructors

Link copied to clipboard
constructor(capturedFile: File?, capture: () -> Unit, clear: () -> Unit, deniedPermissionState: DeniedPermissionState)

Properties

Link copied to clipboard
val capture: () -> Unit

The handler to launch the camera.

Link copied to clipboard

The captured File.

Link copied to clipboard
val clear: () -> Unit

The handler to clear the captured file.