Package-level declarations

Functions

Link copied to clipboard
suspend fun CameraState.takePicture(outputFileOptions: ImageCapture.OutputFileOptions): Uri?

Transform takePicture output files options to suspend function

suspend fun CameraState.takePicture(file: File): Uri?

Transform takePicture file to suspend function

suspend fun CameraState.takePicture(contentValues: ContentValues, saveCollection: Uri = MediaStore.Images.Media.EXTERNAL_CONTENT_URI): Uri?

Transform takePicture content values to suspend function

Link copied to clipboard
@RequiresApi(value = 26)
@RequiresPermission(value = "android.permission.RECORD_AUDIO")
suspend fun CameraState.toggleRecording(fileDescriptorOutputOptions: FileDescriptorOutputOptions, audioConfig: AudioConfig = AudioConfig.create(true)): Uri?

Transform toggle recording output files options to suspend function

@RequiresApi(value = 26)
@RequiresPermission(value = "android.permission.RECORD_AUDIO")
suspend fun CameraState.toggleRecording(fileOutputOptions: FileOutputOptions, audioConfig: AudioConfig = AudioConfig.create(true)): Uri?

Transform toggle recording file to suspend function

@RequiresApi(value = 24)
@RequiresPermission(value = "android.permission.RECORD_AUDIO")
suspend fun CameraState.toggleRecording(mediaStoreOutputOptions: MediaStoreOutputOptions, audioConfig: AudioConfig = AudioConfig.create(true)): Uri?

Transform toggle recording content values options to suspend function