欢迎参加我们将于 6 月 3 日举行的 #Android11:Beta 版发布会

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