switchCamera

open fun switchCamera()

Switch camera used. Can be called anytime

Throws

If the other camera doesn't support same resolution.


open fun switchCamera(cameraId: String)

Choose a specific camera to use. Can be called anytime.

Parameters

cameraId

Identifier of the camera to use.

Throws