DialogConfiguration

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

CrashReportDialog configuration

Author

F43nd1r

Since

01.06.2017

Constructors

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

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

Properties

Link copied to clipboard
val commentPrompt: String? = null

label of the comment input prompt. If not provided, removes the input field.

Link copied to clipboard
val emailPrompt: String? = null

label of the email input prompt. If not provided, removes the input field.

Link copied to clipboard
val enabled: Boolean = true

enables this plugin

Link copied to clipboard
val negativeButtonText: String? = null

label of the negative button

Link copied to clipboard
val positiveButtonText: String? = null

label of the positive button

Link copied to clipboard
val reportDialogClass: Class<out Activity>

Custom CrashReportDialog class

Link copied to clipboard
val resIcon: Int

icon of the dialog

Link copied to clipboard
val resTheme: Int? = null

theme of the dialog

Link copied to clipboard
val text: String? = null

text in the dialog

Link copied to clipboard
val title: String? = null

title of the dialog