web/static/javadoc/5.2.0/org/acra/config/ToastConfigurationBuilder.html
Class
Summary:
Nested |
Field |
Constr |
Detail:
Field |
Constr |
org.acra.config
public interfaceToastConfigurationBuilderextends[ConfigurationBuilder](../../../org/acra/config/ConfigurationBuilder.html "interface in org.acra.config")
Class generated based on AcraToast (16.09.2018 00:54:48)
All Methods Instance Methods Abstract Methods | 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](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")[ToastConfigurationBuilder](../../../org/acra/config/ToastConfigurationBuilder.html "interface in org.acra.config")setEnabled(boolean enabled)
-
[@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")[ToastConfigurationBuilder](../../../org/acra/config/ToastConfigurationBuilder.html "interface in org.acra.config")setText([@Nullable](http://d.android.com/reference/android/support/annotation/Nullable.html?is-external=true "class or interface in android.support.annotation")[String](http://d.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")text)
toast text triggered when the application crashes
Parameters:text - Resource id for the Toast text triggered when the application crashes.Returns:this instanceSince:5.0.0See Also:Toast.makeText(Context, int, int)
-
[@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")[ToastConfigurationBuilder](../../../org/acra/config/ToastConfigurationBuilder.html "interface in org.acra.config")setResText([@StringRes](http://d.android.com/reference/android/support/annotation/StringRes.html?is-external=true "class or interface in android.support.annotation")int resText)
toast text triggered when the application crashes
Parameters:resText - Resource id for the Toast text triggered when the application crashes.Returns:this instanceSince:5.0.0See Also:Toast.makeText(Context, int, int)
-
[@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")[ToastConfigurationBuilder](../../../org/acra/config/ToastConfigurationBuilder.html "interface in org.acra.config")setLength(int length)
One of Toast.LENGTH_LONG and Toast.LENGTH_SHORT
Parameters:length - toast lengthReturns:this instanceSince:5.0.0See Also:Toast.makeText(Context, int, int)
Class
Summary:
Nested |
Field |
Constr |
Detail:
Field |
Constr |