onFailure

abstract fun onFailure(error: String)

Invoked when camera switch failed.

Parameters

error

an error that occurred during the switch