-
- All Implemented Interfaces:
-
java.io.Serializable,org.acra.config.Configuration
public final class DialogConfiguration implements ConfigurationCrashReportDialog configuration
-
-
Field Summary
Fields Modifier and Type Field Description private final Booleanenabledprivate final Class<out Activity>reportDialogClassprivate final StringpositiveButtonTextprivate final StringnegativeButtonTextprivate final StringcommentPromptprivate final StringemailPromptprivate final IntegerresIconprivate final Stringtextprivate final Stringtitleprivate final IntegerresTheme
-
Method Summary
Modifier and Type Method Description final BooleangetEnabled()enables this plugin final Class<out Activity>getReportDialogClass()Custom CrashReportDialog classInside the activity, use org.acra.dialog.CrashReportDialogHelper to integrate it ACRA. final StringgetPositiveButtonText()label of the positive buttonDefaults to android.R.string.ok final StringgetNegativeButtonText()label of the negative buttonDefaults to android.R.string.cancel final StringgetCommentPrompt()label of the comment input prompt. final StringgetEmailPrompt()label of the email input prompt. final IntegergetResIcon()icon of the dialog final StringgetText()text in the dialog final StringgetTitle()title of the dialog final IntegergetResTheme()theme of the dialog Booleanenabled()-
-
Method Detail
-
getEnabled
final Boolean getEnabled()
enables this plugin
-
getReportDialogClass
final Class<out Activity> getReportDialogClass()
Custom CrashReportDialog class
Inside the activity, use org.acra.dialog.CrashReportDialogHelper to integrate it ACRA.
-
getPositiveButtonText
final String getPositiveButtonText()
label of the positive button
Defaults to android.R.string.ok
-
getNegativeButtonText
final String getNegativeButtonText()
label of the negative button
Defaults to android.R.string.cancel
-
getCommentPrompt
final String getCommentPrompt()
label of the comment input prompt. If not provided, removes the input field.
-
getEmailPrompt
final String getEmailPrompt()
label of the email input prompt. If not provided, removes the input field.
-
getResIcon
final Integer getResIcon()
icon of the dialog
-
getResTheme
final Integer getResTheme()
theme of the dialog
-
-
-
-