public interface ToastConfigurationBuilder
extends org.acra.config.ConfigurationBuilder
AcraToast (07.02.2019 23:25:20)| Modifier and Type | Method and Description |
|---|---|
ToastConfigurationBuilder |
setEnabled(boolean enabled) |
ToastConfigurationBuilder |
setLength(int length)
One of
Toast.LENGTH_LONG and Toast.LENGTH_SHORT |
ToastConfigurationBuilder |
setResText(int resText)
toast text triggered when the application crashes
|
ToastConfigurationBuilder |
setText(String text)
toast text triggered when the application crashes
|
@NonNull ToastConfigurationBuilder setEnabled(boolean enabled)
@NonNull ToastConfigurationBuilder setText(@Nullable String text)
text - Resource id for the Toast text triggered when the application crashes.Toast.makeText(Context, int, int)@NonNull ToastConfigurationBuilder setResText(@StringRes int resText)
resText - Resource id for the Toast text triggered when the application crashes.Toast.makeText(Context, int, int)@NonNull ToastConfigurationBuilder setLength(int length)
Toast.LENGTH_LONG and Toast.LENGTH_SHORTlength - toast lengthToast.makeText(Context, int, int)