Back to Acra

ToastConfigurationBuilder

web/static/javadoc/5.2.0/org/acra/config/ToastConfigurationBuilder.html

latest6.1 KB
Original Source

Skip navigation links

org.acra.config

Interface ToastConfigurationBuilder


public interfaceToastConfigurationBuilderextends[ConfigurationBuilder](../../../org/acra/config/ConfigurationBuilder.html "interface in org.acra.config")

Class generated based on AcraToast (16.09.2018 00:54:48)

Method Summary

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 |

- 

Methods inherited from interface org.acra.config.ConfigurationBuilder

build

Method Detail

- 

setEnabled

[@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)
- 

setText

[@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)

- 

setResText

[@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)

- 

setLength

[@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)

Skip navigation links