public class ToastView
Allows to show a message in toast-like style
public static long DURATION_SHORT
public static long DURATION_LONG
public static io.scanbot.sdk.ui.view.widget.ToastView.Companion Companion
public ToastView(@NotNull
android.content.Context context,
@NotNull
android.util.AttributeSet attrs)
Allows to show a message in toast-like style
public void showToast(@NotNull
java.lang.String text,
@NotNull
io.scanbot.sdk.ui.view.widget.ToastView.Duration duration)
Shows a message and than hides itself
text - text of the messageduration - delay after which the view will be hiddenpublic void setTextColor(int color)
Allows to set the color of text
public void setToastBackgroundColor(int color)
Allows to set the background color of the view
protected void onDetachedFromWindow()