startPreview

open override fun startPreview()(source)

Starts the camera preview.

Requires the CAMERA and RECORD_AUDIO runtime permissions to be granted already. When either is missing the call logs a warning and returns without an error callback - the host app must request the permissions first and call this again after they are granted.