onFailure

abstract fun onFailure(error: String)(source)

Invoked when camera switch failed.

Parameters

error

an error that occurred during the switch