stopPreview

fun stopPreview()

Stops camera preview.

The surface provided in the constructor already manages startPreview and stopPreview. Use this method only if you need to explicitly stop preview.

See also