DialogConfiguration

class DialogConfiguration(enabled: Boolean, reportDialogClass: Class<out Activity>, positiveButtonText: String?, negativeButtonText: String?, commentPrompt: String?, emailPrompt: String?, @DrawableRes() resIcon: Int, text: String?, title: String?, @StyleRes() resTheme: Int?) : Configuration

CrashReportDialog configuration

Author

F43nd1r

Since

01.06.2017

Constructors

DialogConfiguration
Link copied to clipboard
fun DialogConfiguration(enabled: Boolean = true, reportDialogClass: Class<out Activity> = CrashReportDialog::class.java, positiveButtonText: String? = null, negativeButtonText: String? = null, commentPrompt: String? = null, emailPrompt: String? = null, @DrawableRes() resIcon: Int = android.R.drawable.ic_dialog_alert, text: String? = null, title: String? = null, @StyleRes() resTheme: Int? = null)

Functions

enabled
Link copied to clipboard
open override fun enabled(): Boolean

Properties

commentPrompt
Link copied to clipboard
val commentPrompt: String? = null
label of the comment input prompt.
emailPrompt
Link copied to clipboard
val emailPrompt: String? = null
label of the email input prompt.
enabled
Link copied to clipboard
val enabled: Boolean = true
enables this plugin
negativeButtonText
Link copied to clipboard
val negativeButtonText: String? = null
label of the negative buttonDefaults to android.R.string.cancel
positiveButtonText
Link copied to clipboard
val positiveButtonText: String? = null
label of the positive buttonDefaults to android.R.string.ok
reportDialogClass
Link copied to clipboard
val reportDialogClass: Class<out Activity>
Custom CrashReportDialog classInside the activity, use org.acra.dialog.CrashReportDialogHelper to integrate it ACRA.
resIcon
Link copied to clipboard
val resIcon: Int
icon of the dialog
resTheme
Link copied to clipboard
val resTheme: Int? = null
theme of the dialog
text
Link copied to clipboard
val text: String? = null
text in the dialog
title
Link copied to clipboard
val title: String? = null
title of the dialog