DefaultCameraErrorListener

class DefaultCameraErrorListener(context: Context, callback: (Throwable?) -> Unit) : CameraErrorListener

A basic implementation that displays error messages when there is a problem with the camera.

Constructors

Link copied to clipboard
fun DefaultCameraErrorListener(context: Context, callback: (Throwable?) -> Unit)

Functions

Link copied to clipboard
open override fun onCameraAccessError(cause: Throwable?)
Link copied to clipboard
open override fun onCameraOpenError(cause: Throwable?)
Link copied to clipboard
open override fun onCameraUnsupportedError(cause: Throwable?)