public interface DialogConfigurationBuilder extends ConfigurationBuilder
AcraDialog
(16.09.2018 00:54:44)Modifier and Type | Method and Description |
---|---|
DialogConfigurationBuilder |
setCommentPrompt(String commentPrompt)
label of the comment input prompt.
|
DialogConfigurationBuilder |
setEmailPrompt(String emailPrompt)
label of the email input prompt.
|
DialogConfigurationBuilder |
setEnabled(boolean enabled) |
DialogConfigurationBuilder |
setNegativeButtonText(String negativeButtonText)
label of the negative button
|
DialogConfigurationBuilder |
setPositiveButtonText(String positiveButtonText)
label of the positive button
|
DialogConfigurationBuilder |
setReportDialogClass(Class<? extends BaseCrashReportDialog> reportDialogClass)
Custom CrashReportDialog class
|
DialogConfigurationBuilder |
setResCommentPrompt(int resCommentPrompt)
label of the comment input prompt.
|
DialogConfigurationBuilder |
setResEmailPrompt(int resEmailPrompt)
label of the email input prompt.
|
DialogConfigurationBuilder |
setResIcon(int resIcon)
icon of the dialog
|
DialogConfigurationBuilder |
setResNegativeButtonText(int resNegativeButtonText)
label of the negative button
|
DialogConfigurationBuilder |
setResPositiveButtonText(int resPositiveButtonText)
label of the positive button
|
DialogConfigurationBuilder |
setResText(int resText)
text in the dialog
|
DialogConfigurationBuilder |
setResTheme(int resTheme)
theme of the dialog
|
DialogConfigurationBuilder |
setResTitle(int resTitle)
title of the dialog
|
DialogConfigurationBuilder |
setText(String text)
text in the dialog
|
DialogConfigurationBuilder |
setTitle(String title)
title of the dialog
|
build
@NonNull DialogConfigurationBuilder setEnabled(boolean enabled)
@NonNull DialogConfigurationBuilder setReportDialogClass(@NonNull Class<? extends BaseCrashReportDialog> reportDialogClass)
reportDialogClass
- Class for the CrashReportDialog used when prompting the user for crash details.@NonNull DialogConfigurationBuilder setPositiveButtonText(@NonNull String positiveButtonText)
positiveButtonText
- Resource id for the positive button label in the crash dialog.AlertDialog.Builder.setPositiveButton(int, DialogInterface.OnClickListener)
@NonNull DialogConfigurationBuilder setResPositiveButtonText(@StringRes int resPositiveButtonText)
resPositiveButtonText
- Resource id for the positive button label in the crash dialog.AlertDialog.Builder.setPositiveButton(int, DialogInterface.OnClickListener)
@NonNull DialogConfigurationBuilder setNegativeButtonText(@NonNull String negativeButtonText)
negativeButtonText
- Resource id for the negative button label in the crash dialog.AlertDialog.Builder.setNegativeButton(int, DialogInterface.OnClickListener)
@NonNull DialogConfigurationBuilder setResNegativeButtonText(@StringRes int resNegativeButtonText)
resNegativeButtonText
- Resource id for the negative button label in the crash dialog.AlertDialog.Builder.setNegativeButton(int, DialogInterface.OnClickListener)
@NonNull DialogConfigurationBuilder setCommentPrompt(@Nullable String commentPrompt)
commentPrompt
- Resource id for the user comment input label in the crash dialog.@NonNull DialogConfigurationBuilder setResCommentPrompt(@StringRes int resCommentPrompt)
resCommentPrompt
- Resource id for the user comment input label in the crash dialog.@NonNull DialogConfigurationBuilder setEmailPrompt(@Nullable String emailPrompt)
emailPrompt
- Resource id for the user email address input label in the crash dialog.@NonNull DialogConfigurationBuilder setResEmailPrompt(@StringRes int resEmailPrompt)
resEmailPrompt
- Resource id for the user email address input label in the crash dialog.@NonNull DialogConfigurationBuilder setResIcon(@DrawableRes int resIcon)
resIcon
- Resource id for the icon in the crash dialog.AlertDialog.Builder.setIcon(int)
@NonNull DialogConfigurationBuilder setText(@Nullable String text)
text
- Resource id for the text in the crash dialog.@NonNull DialogConfigurationBuilder setResText(@StringRes int resText)
resText
- Resource id for the text in the crash dialog.@NonNull DialogConfigurationBuilder setTitle(@Nullable String title)
title
- Resource id for the title in the crash dialog.AlertDialog.Builder.setTitle(int)
@NonNull DialogConfigurationBuilder setResTitle(@StringRes int resTitle)
resTitle
- Resource id for the title in the crash dialog.AlertDialog.Builder.setTitle(int)
@NonNull DialogConfigurationBuilder setResTheme(@StyleRes int resTheme)
resTheme
- resource id for the crash dialog themeActivity.setTheme(int)