takePicture
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.
Parameters
saveCollection
Uri collection where the photo will be saved.
contentValues
Content values of the photo.
onResult
Callback called when CaptureResult
abstract fun takePicture(file: File, onResult: (CaptureResult<ERROR CLASS: Symbol not found for Uri??>) -> Unit)
Take a picture with the camera.
Parameters
file
file where the photo will be saved
onResult
Callback called when CaptureResult
abstract fun takePicture(outputFileOptions: ImageCapture.OutputFileOptions, onResult: (CaptureResult<ERROR CLASS: Symbol not found for Uri??>) -> Unit)
Take a picture with the camera.
Parameters
outputFileOptions
Output file options of the photo.
onResult
Callback called when CaptureResult is ready