TakePictureCommand

Controller interface for managing take picture operations.

Note: This interface defines the underlying contract for taking picture operations. For standard usage in an application, please use the implementation provided by com.ujizin.camposer.controller.camera.CameraController.

Inheritors

Functions

Link copied to clipboard
abstract fun takePicture(onImageCaptured: (CaptureResult<ByteArray>) -> Unit)
abstract fun takePicture(filename: String, onImageCaptured: (CaptureResult<String>) -> Unit)