Back to Acra

AcraDialog

web/static/javadoc/5.1.3/org/acra/annotation/AcraDialog.html

latest8.0 KB
Original Source

Skip navigation links

org.acra.annotation

Annotation Type AcraDialog


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

CrashReportDialog configuration Since:01.06.2017

Optional Element Summary

Optional Elements | Modifier and Type | Optional Element and Description | | --- | --- | | Class<? extends BaseCrashReportDialog> | reportDialogClass Custom CrashReportDialog class | | int | resCommentPrompt label of the comment input prompt. | | int | resEmailPrompt label of the email input prompt. | | int | resIcon icon of the dialog | | int | resNegativeButtonText label of the negative button | | int | resPositiveButtonText label of the positive button | | int | resText text in the dialog | | int | resTheme theme of the dialog | | int | resTitle title of the dialog |

Element Detail

- 

reportDialogClass

[@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")public abstract[Class](http://d.android.com/reference/java/lang/Class.html?is-external=true "class or interface in java.lang")<? extends[BaseCrashReportDialog](../../../org/acra/dialog/BaseCrashReportDialog.html "class in org.acra.dialog")> reportDialogClass

Custom CrashReportDialog class Returns:Class for the CrashReportDialog used when prompting the user for crash details.Since:5.0.0Default:org.acra.dialog.CrashReportDialog.class

resPositiveButtonText

[@StringRes](http://d.android.com/reference/android/support/annotation/StringRes.html?is-external=true "class or interface in android.support.annotation")public abstract int resPositiveButtonText

label of the positive button Returns:Resource id for the positive button label in the crash dialog.Since:5.0.0See Also:AlertDialog.Builder.setPositiveButton(int, DialogInterface.OnClickListener)Default:17039370

resNegativeButtonText

[@StringRes](http://d.android.com/reference/android/support/annotation/StringRes.html?is-external=true "class or interface in android.support.annotation")public abstract int resNegativeButtonText

label of the negative button Returns:Resource id for the negative button label in the crash dialog.Since:5.0.0See Also:AlertDialog.Builder.setNegativeButton(int, DialogInterface.OnClickListener)Default:17039360

resCommentPrompt

[@StringRes](http://d.android.com/reference/android/support/annotation/StringRes.html?is-external=true "class or interface in android.support.annotation")public abstract int resCommentPrompt

label of the comment input prompt. If not provided, removes the input field. Returns:Resource id for the user comment input label in the crash dialog.Since:5.0.0Default:0

resEmailPrompt

[@StringRes](http://d.android.com/reference/android/support/annotation/StringRes.html?is-external=true "class or interface in android.support.annotation")public abstract int resEmailPrompt

label of the email input prompt. If not provided, removes the input field. Returns:Resource id for the user email address input label in the crash dialog.Since:5.0.0Default:0

resIcon

[@DrawableRes](http://d.android.com/reference/android/support/annotation/DrawableRes.html?is-external=true "class or interface in android.support.annotation")public abstract int resIcon

icon of the dialog Returns:Resource id for the icon in the crash dialog.Since:5.0.0See Also:AlertDialog.Builder.setIcon(int)Default:17301543

resText

[@StringRes](http://d.android.com/reference/android/support/annotation/StringRes.html?is-external=true "class or interface in android.support.annotation")public abstract int resText

text in the dialog Returns:Resource id for the text in the crash dialog.Since:5.0.0Default:0

resTitle

[@StringRes](http://d.android.com/reference/android/support/annotation/StringRes.html?is-external=true "class or interface in android.support.annotation")public abstract int resTitle

title of the dialog Returns:Resource id for the title in the crash dialog.Since:5.0.0See Also:AlertDialog.Builder.setTitle(int)Default:0

resTheme

[@StyleRes](http://d.android.com/reference/android/support/annotation/StyleRes.html?is-external=true "class or interface in android.support.annotation")public abstract int resTheme

theme of the dialog Returns:resource id for the crash dialog themeSince:5.0.0See Also:Activity.setTheme(int)Default:0

Skip navigation links