Kindling
Toggle table of contents
SNAPSHOT
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Kindling
android
/
dev.kindling.android.natif
/
CameraHelper
/
startPreview
start
Preview
@
RequiresPermission
(
value
=
"android.permission.CAMERA"
)
fun
startPreview
(
context
:
Context
,
lifecycleOwner
:
LifecycleOwner
,
previewView
:
PreviewView
,
config
:
CameraConfig
=
CameraConfig.BackPhoto
,
onReady
:
(
Camera
)
->
Unit
?
=
null
)
(
source
)