The Android Developer Challenge is back! Submit your idea before December 2.

ErrorListener

interface ErrorListener
androidx.camera.core.CameraX.ErrorListener

Listener called whenever an error condition occurs within CameraX.

Summary

Public methods

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

Called whenever an error occurs within CameraX.

Public methods

onError

abstract fun onError(@NonNull error: CameraX.ErrorCode, @NonNull 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