CameraPreview

fun CameraPreview(cameraPosition: CameraPosition, modifier: Modifier = Modifier, mirror: Boolean = false)

A standalone camera preview composable that can be used without a Room object.

Due to hardware limitations, this should not be used while any camera is in use, or it may fail.