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: Int)