AndroidTakePictureCommand

Functions

Link copied to clipboard
abstract fun takePicture(outputFileOptions: ImageCapture.OutputFileOptions, onResult: (CaptureResult<ERROR CLASS: Symbol not found for Uri??>) -> Unit)
abstract fun takePicture(file: File, onResult: (CaptureResult<ERROR CLASS: Symbol not found for Uri??>) -> Unit)
abstract fun takePicture(contentValues: ERROR CLASS: Symbol not found for ContentValues, saveCollection: ERROR CLASS: Symbol not found for Uri = MediaStore.Images.Media.EXTERNAL_CONTENT_URI, onResult: (CaptureResult<ERROR CLASS: Symbol not found for Uri??>) -> Unit)

Take a picture with the camera.

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