switchCamera

abstract fun switchCamera(handler: CompletionHandler?)

Toggles the selection between the front and the back camera. In case of more than two cameras, the next camera will be selected. If the last camera is already selected, the first one will be selected again.

Since

1.0.0

Parameters

handler

Callback handler.