Back to Acra

AcraToast

web/static/javadoc/5.6.2/org/acra/annotation/AcraToast.html

latest4.6 KB
Original Source

Skip navigation links

org.acra.annotation

Annotation Type AcraToast


[@Documented](http://d.android.com/reference/java/lang/annotation/Documented.html?is-external=true "class or interface in java.lang.annotation")[@Retention](http://d.android.com/reference/java/lang/annotation/Retention.html?is-external=true "class or interface in java.lang.annotation")([value](http://d.android.com/reference/java/lang/annotation/Retention.html?is-external=true#value-- "class or interface in java.lang.annotation")=[RUNTIME](http://d.android.com/reference/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME "class or interface in java.lang.annotation"))[@Target](http://d.android.com/reference/java/lang/annotation/Target.html?is-external=true "class or interface in java.lang.annotation")([value](http://d.android.com/reference/java/lang/annotation/Target.html?is-external=true#value-- "class or interface in java.lang.annotation")=[TYPE](http://d.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#TYPE "class or interface in java.lang.annotation"))[@Inherited](http://d.android.com/reference/java/lang/annotation/Inherited.html?is-external=true "class or interface in java.lang.annotation")public @interfaceAcraToast

Since:02.06.2017

Required Element Summary

Required Elements | Modifier and Type | Required Element and Description | | --- | --- | | int | resText toast text triggered when the application crashes |

Optional Element Summary

Optional Elements | Modifier and Type | Optional Element and Description | | --- | --- | | int | length One of Toast.LENGTH_LONG and Toast.LENGTH_SHORT |

Element Detail

- 

resText

@StringRes
public abstract int resText

toast text triggered when the application crashes Returns:Resource id for the Toast text triggered when the application crashes.Since:5.0.0See Also:Toast.makeText(Context, int, int)

length

public abstract int length

One of Toast.LENGTH_LONG and Toast.LENGTH_SHORT Returns:toast lengthSince:5.0.0See Also:Toast.makeText(Context, int, int)Default:1

Skip navigation links