CameraX.ErrorListener

public static interface CameraX.ErrorListener

androidx.camera.core.CameraX.ErrorListener


Listener called whenever an error condition occurs within CameraX.

Summary

Public methods

abstract void onError(CameraX.ErrorCode error, String message)

Called whenever an error occurs within CameraX.

Public methods

onError

public abstract void onError (CameraX.ErrorCode error, 
                String message)

Called whenever an error occurs within CameraX.

Parameters
error CameraX.ErrorCode: the type of error that occurred

message String: detailed message of the error condition