web/static/javadoc/5.6.2/org/acra/config/DialogConfigurationBuilder.html
Class
Summary:
Nested |
Field |
Constr |
Detail:
Field |
Constr |
org.acra.config
public interfaceDialogConfigurationBuilderextends[ConfigurationBuilder](../../../org/acra/config/ConfigurationBuilder.html "interface in org.acra.config")
Class generated based on AcraDialog (Jul 7, 2020 6:02:13 PM)
All Methods Instance Methods Abstract Methods | 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 Activity> 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](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setEnabled(boolean enabled)
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setReportDialogClass(@NonNull[Class](http://d.android.com/reference/java/lang/Class.html?is-external=true "class or interface in java.lang")<? extends[Activity](http://d.android.com/reference/android/app/Activity.html?is-external=true "class or interface in android.app")> reportDialogClass)
Custom CrashReportDialog class
Parameters:reportDialogClass - The activity to use to prompt the user for crash details. Inside the activity, use CrashReportDialogHelper to integrate it ACRA.Returns:this instanceSince:5.0.0
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setPositiveButtonText(@NonNull[String](http://d.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")positiveButtonText)
label of the positive button
Parameters:positiveButtonText - Resource id for the positive button label in the crash dialog.Returns:this instanceSince:5.0.0See Also:AlertDialog.Builder.setPositiveButton(int, DialogInterface.OnClickListener)
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setResPositiveButtonText(@StringRes
int resPositiveButtonText)
label of the positive button
Parameters:resPositiveButtonText - Resource id for the positive button label in the crash dialog.Returns:this instanceSince:5.0.0See Also:AlertDialog.Builder.setPositiveButton(int, DialogInterface.OnClickListener)
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setNegativeButtonText(@NonNull[String](http://d.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")negativeButtonText)
label of the negative button
Parameters:negativeButtonText - Resource id for the negative button label in the crash dialog.Returns:this instanceSince:5.0.0See Also:AlertDialog.Builder.setNegativeButton(int, DialogInterface.OnClickListener)
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setResNegativeButtonText(@StringRes
int resNegativeButtonText)
label of the negative button
Parameters:resNegativeButtonText - Resource id for the negative button label in the crash dialog.Returns:this instanceSince:5.0.0See Also:AlertDialog.Builder.setNegativeButton(int, DialogInterface.OnClickListener)
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setCommentPrompt(@Nullable[String](http://d.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")commentPrompt)
label of the comment input prompt. If not provided, removes the input field.
Parameters:commentPrompt - Resource id for the user comment input label in the crash dialog.Returns:this instanceSince:5.0.0
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setResCommentPrompt(@StringRes
int resCommentPrompt)
label of the comment input prompt. If not provided, removes the input field.
Parameters:resCommentPrompt - Resource id for the user comment input label in the crash dialog.Returns:this instanceSince:5.0.0
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setEmailPrompt(@Nullable[String](http://d.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")emailPrompt)
label of the email input prompt. If not provided, removes the input field.
Parameters:emailPrompt - Resource id for the user email address input label in the crash dialog.Returns:this instanceSince:5.0.0
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setResEmailPrompt(@StringRes
int resEmailPrompt)
label of the email input prompt. If not provided, removes the input field.
Parameters:resEmailPrompt - Resource id for the user email address input label in the crash dialog.Returns:this instanceSince:5.0.0
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setResIcon(@DrawableRes
int resIcon)
icon of the dialog
Parameters:resIcon - Resource id for the icon in the crash dialog.Returns:this instanceSince:5.0.0See Also:AlertDialog.Builder.setIcon(int)
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setText(@Nullable[String](http://d.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")text)
text in the dialog
Parameters:text - Resource id for the text in the crash dialog.Returns:this instanceSince:5.0.0
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setResText(@StringRes
int resText)
text in the dialog
Parameters:resText - Resource id for the text in the crash dialog.Returns:this instanceSince:5.0.0
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setTitle(@Nullable[String](http://d.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")title)
title of the dialog
Parameters:title - Resource id for the title in the crash dialog.Returns:this instanceSince:5.0.0See Also:AlertDialog.Builder.setTitle(int)
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setResTitle(@StringRes
int resTitle)
title of the dialog
Parameters:resTitle - Resource id for the title in the crash dialog.Returns:this instanceSince:5.0.0See Also:AlertDialog.Builder.setTitle(int)
-
@NonNull[DialogConfigurationBuilder](../../../org/acra/config/DialogConfigurationBuilder.html "interface in org.acra.config")setResTheme(@StyleRes
int resTheme)
theme of the dialog
Parameters:resTheme - resource id for the crash dialog themeReturns:this instanceSince:5.0.0See Also:Activity.setTheme(int)
Class
Summary:
Nested |
Field |
Constr |
Detail:
Field |
Constr |