NotificationConfiguration

class NotificationConfiguration(val enabled: Boolean = true, @DrawableRes val resIcon: Int = android.R.drawable.stat_sys_warning, val title: String, val text: String, val tickerText: String? = null, val sendButtonText: String? = null, @DrawableRes val resSendButtonIcon: Int = android.R.drawable.ic_menu_send, val discardButtonText: String? = null, @DrawableRes val resDiscardButtonIcon: Int = android.R.drawable.ic_menu_delete, val channelName: String, val channelDescription: String? = null, val channelImportance: Int = 4, val sendWithCommentButtonText: String? = null, @DrawableRes val resSendWithCommentButtonIcon: Int = android.R.drawable.ic_menu_send, val commentPrompt: String? = null, val sendOnClick: Boolean = false, @ColorInt val color: Int? = null) : Configuration

Author

F43nd1r

Since

15.09.2017

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, @DrawableRes resIcon: Int = android.R.drawable.stat_sys_warning, title: String, text: String, tickerText: String? = null, sendButtonText: String? = null, @DrawableRes resSendButtonIcon: Int = android.R.drawable.ic_menu_send, discardButtonText: String? = null, @DrawableRes resDiscardButtonIcon: Int = android.R.drawable.ic_menu_delete, channelName: String, channelDescription: String? = null, channelImportance: Int = 4, sendWithCommentButtonText: String? = null, @DrawableRes resSendWithCommentButtonIcon: Int = android.R.drawable.ic_menu_send, commentPrompt: String? = null, sendOnClick: Boolean = false, @ColorInt color: Int? = null)

Properties

Link copied to clipboard

notification channel description

Link copied to clipboard

notification channel importance. Must be one of

Link copied to clipboard

notification channel name. To learn about notification channels, visit the notification guide

Link copied to clipboard
val color: Int? = null

set notification color

Link copied to clipboard
val commentPrompt: String? = null

in-line comment prompt label. Only available on API 24 - 28.

Link copied to clipboard

discard button text shown in expanded view

Link copied to clipboard
val enabled: Boolean = true

enables this plugin

Link copied to clipboard

discard button icon shown in collapsed and sometimes expanded view

Link copied to clipboard

icon of the notification

Link copied to clipboard

send button icon shown in collapsed and sometimes expanded view

Link copied to clipboard

in-line comment button icon. Only available on API 24 - 28.

Link copied to clipboard
val sendButtonText: String? = null

send button text shown in expanded view

Link copied to clipboard
val sendOnClick: Boolean = false

enable to send report even on normal click, not only on button click

Link copied to clipboard

in-line comment button text. Only available on API 24 - 28.

Link copied to clipboard

text in the notification

Link copied to clipboard
val tickerText: String? = null

ticker text for the notification

Link copied to clipboard

title of the notification

Functions

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