take Picture
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
save Collection
Uri collection where the photo will be saved.
content Values
Content values of the photo.
on Result
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
on Result
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
output File Options
Output file options of the photo.
on Result
Callback called when CaptureResult is ready