ErrorListener

interface ErrorListener
androidx.camera.core.CameraX.ErrorListener

Listener called whenever an error condition occurs within CameraX.

Summary

Public methods

abstract Unit
onError(error: CameraX.ErrorCode!, message: String!)

Called whenever an error occurs within CameraX.

Public methods

onError

abstract fun onError(error: CameraX.ErrorCode!, message: String!): Unit

Called whenever an error occurs within CameraX.

Parameters
error CameraX.ErrorCode!: the type of error that occurred
message CameraX.ErrorCode!: detailed message of the error condition