public interface ToastConfigurationBuilder extends ConfigurationBuilder
AcraToast (18.03.2020 16:20:26)| 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
|
build@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)