showError

public void showError(@NonNull() String message, int duration)

Call this method to show an error message to the user in the Camera Screen.

Parameters

message

a short error message

duration

how long should the error message be shown in ms