NotificationConfigurationBuilder

class NotificationConfigurationBuilder(arg0: Context) : ConfigurationBuilder

Class generated based on {@link AcraNotification} (Jun 1, 2021, 1:54:21 AM)

Constructors

NotificationConfigurationBuilder
Link copied to clipboard
fun NotificationConfigurationBuilder(arg0: Context)

Functions

build
Link copied to clipboard
open override fun build(): NotificationConfiguration
withChannelDescription
Link copied to clipboard
fun withChannelDescription(channelDescription: String): NotificationConfigurationBuilder
notification channel description
withChannelName
Link copied to clipboard
fun withChannelName(channelName: String): NotificationConfigurationBuilder
notification channel name.
withCommentPrompt
Link copied to clipboard
fun withCommentPrompt(commentPrompt: String): NotificationConfigurationBuilder
in-line comment prompt label.
withDiscardButtonText
Link copied to clipboard
fun withDiscardButtonText(discardButtonText: String): NotificationConfigurationBuilder
discard button text shown in expanded view
withEnabled
Link copied to clipboard
fun withEnabled(enabled: Boolean): NotificationConfigurationBuilder
withResChannelDescription
Link copied to clipboard
fun withResChannelDescription(@StringRes() resChannelDescription: Int): NotificationConfigurationBuilder
notification channel description
withResChannelImportance
Link copied to clipboard
fun withResChannelImportance(resChannelImportance: Int): NotificationConfigurationBuilder
notification channel importance.
withResChannelName
Link copied to clipboard
fun withResChannelName(@StringRes() resChannelName: Int): NotificationConfigurationBuilder
notification channel name.
withResCommentPrompt
Link copied to clipboard
fun withResCommentPrompt(@StringRes() resCommentPrompt: Int): NotificationConfigurationBuilder
in-line comment prompt label.
withResDiscardButtonIcon
Link copied to clipboard
fun withResDiscardButtonIcon(@DrawableRes() resDiscardButtonIcon: Int): NotificationConfigurationBuilder
discard button icon shown in collapsed and sometimes expanded view
withResDiscardButtonText
Link copied to clipboard
fun withResDiscardButtonText(@StringRes() resDiscardButtonText: Int): NotificationConfigurationBuilder
discard button text shown in expanded view
withResIcon
Link copied to clipboard
fun withResIcon(@DrawableRes() resIcon: Int): NotificationConfigurationBuilder
icon of the notification
withResSendButtonIcon
Link copied to clipboard
fun withResSendButtonIcon(@DrawableRes() resSendButtonIcon: Int): NotificationConfigurationBuilder
send button icon shown in collapsed and sometimes expanded view
withResSendButtonText
Link copied to clipboard
fun withResSendButtonText(@StringRes() resSendButtonText: Int): NotificationConfigurationBuilder
send button text shown in expanded view
withResSendWithCommentButtonIcon
Link copied to clipboard
fun withResSendWithCommentButtonIcon(@DrawableRes() resSendWithCommentButtonIcon: Int): NotificationConfigurationBuilder
in-line comment button icon.
withResSendWithCommentButtonText
Link copied to clipboard
fun withResSendWithCommentButtonText(@StringRes() resSendWithCommentButtonText: Int): NotificationConfigurationBuilder
in-line comment button text.
withResText
Link copied to clipboard
fun withResText(@StringRes() resText: Int): NotificationConfigurationBuilder
text in the notification
withResTickerText
Link copied to clipboard
fun withResTickerText(@StringRes() resTickerText: Int): NotificationConfigurationBuilder
ticker text for the notification
withResTitle
Link copied to clipboard
fun withResTitle(@StringRes() resTitle: Int): NotificationConfigurationBuilder
title of the notification
withSendButtonText
Link copied to clipboard
fun withSendButtonText(sendButtonText: String): NotificationConfigurationBuilder
send button text shown in expanded view
withSendOnClick
Link copied to clipboard
fun withSendOnClick(sendOnClick: Boolean): NotificationConfigurationBuilder
enable to send report even on normal click, not only on button click
withSendWithCommentButtonText
Link copied to clipboard
fun withSendWithCommentButtonText(sendWithCommentButtonText: String): NotificationConfigurationBuilder
in-line comment button text.
withText
Link copied to clipboard
fun withText(text: String): NotificationConfigurationBuilder
text in the notification
withTickerText
Link copied to clipboard
fun withTickerText(tickerText: String): NotificationConfigurationBuilder
ticker text for the notification
withTitle
Link copied to clipboard
fun withTitle(title: String): NotificationConfigurationBuilder
title of the notification

Properties

channelDescription
Link copied to clipboard
var channelDescription: String
notification channel description
channelName
Link copied to clipboard
var channelName: String
notification channel name.
commentPrompt
Link copied to clipboard
var commentPrompt: String
in-line comment prompt label.
context
Link copied to clipboard
var context: Context
discardButtonText
Link copied to clipboard
var discardButtonText: String
discard button text shown in expanded view
enabled
Link copied to clipboard
var enabled: Boolean
resChannelImportance
Link copied to clipboard
var resChannelImportance: Int
notification channel importance.
resDiscardButtonIcon
Link copied to clipboard
var resDiscardButtonIcon: Int
discard button icon shown in collapsed and sometimes expanded view
resIcon
Link copied to clipboard
var resIcon: Int
icon of the notification
resSendButtonIcon
Link copied to clipboard
var resSendButtonIcon: Int
send button icon shown in collapsed and sometimes expanded view
resSendWithCommentButtonIcon
Link copied to clipboard
var resSendWithCommentButtonIcon: Int
in-line comment button icon.
sendButtonText
Link copied to clipboard
var sendButtonText: String
send button text shown in expanded view
sendOnClick
Link copied to clipboard
var sendOnClick: Boolean
enable to send report even on normal click, not only on button click
sendWithCommentButtonText
Link copied to clipboard
var sendWithCommentButtonText: String
in-line comment button text.
text
Link copied to clipboard
var text: String
text in the notification
tickerText
Link copied to clipboard
var tickerText: String
ticker text for the notification
title
Link copied to clipboard
var title: String
title of the notification