public interface NotificationConfigurationBuilder extends ConfigurationBuilder
AcraNotification (16.09.2018 00:54:47)| Modifier and Type | Method and Description |
|---|---|
NotificationConfigurationBuilder |
setChannelDescription(String channelDescription)
notification channel description
|
NotificationConfigurationBuilder |
setChannelName(String channelName)
notification channel name.
|
NotificationConfigurationBuilder |
setCommentPrompt(String commentPrompt)
in-line comment prompt label.
|
NotificationConfigurationBuilder |
setDiscardButtonText(String discardButtonText)
discard button text shown in expanded view
|
NotificationConfigurationBuilder |
setEnabled(boolean enabled) |
NotificationConfigurationBuilder |
setResChannelDescription(int resChannelDescription)
notification channel description
|
NotificationConfigurationBuilder |
setResChannelImportance(int resChannelImportance)
notification channel importance.
|
NotificationConfigurationBuilder |
setResChannelName(int resChannelName)
notification channel name.
|
NotificationConfigurationBuilder |
setResCommentPrompt(int resCommentPrompt)
in-line comment prompt label.
|
NotificationConfigurationBuilder |
setResDiscardButtonIcon(int resDiscardButtonIcon)
discard button icon shown in collapsed and sometimes expanded view
|
NotificationConfigurationBuilder |
setResDiscardButtonText(int resDiscardButtonText)
discard button text shown in expanded view
|
NotificationConfigurationBuilder |
setResIcon(int resIcon)
icon of the notification
|
NotificationConfigurationBuilder |
setResSendButtonIcon(int resSendButtonIcon)
send button icon shown in collapsed and sometimes expanded view
|
NotificationConfigurationBuilder |
setResSendButtonText(int resSendButtonText)
send button text shown in expanded view
|
NotificationConfigurationBuilder |
setResSendWithCommentButtonIcon(int resSendWithCommentButtonIcon)
in-line comment button icon.
|
NotificationConfigurationBuilder |
setResSendWithCommentButtonText(int resSendWithCommentButtonText)
in-line comment button text.
|
NotificationConfigurationBuilder |
setResText(int resText)
text in the notification
|
NotificationConfigurationBuilder |
setResTickerText(int resTickerText)
ticker text for the notification
|
NotificationConfigurationBuilder |
setResTitle(int resTitle)
title of the notification
|
NotificationConfigurationBuilder |
setSendButtonText(String sendButtonText)
send button text shown in expanded view
|
NotificationConfigurationBuilder |
setSendOnClick(boolean sendOnClick)
enable to send report even on normal click, not only on button click
|
NotificationConfigurationBuilder |
setSendWithCommentButtonText(String sendWithCommentButtonText)
in-line comment button text.
|
NotificationConfigurationBuilder |
setText(String text)
text in the notification
|
NotificationConfigurationBuilder |
setTickerText(String tickerText)
ticker text for the notification
|
NotificationConfigurationBuilder |
setTitle(String title)
title of the notification
|
build@NonNull NotificationConfigurationBuilder setEnabled(boolean enabled)
@NonNull NotificationConfigurationBuilder setResIcon(@DrawableRes int resIcon)
resIcon - Resource id for the icon in the status bar notification.NotificationCompat.Builder.setSmallIcon(int)@NonNull NotificationConfigurationBuilder setTitle(@Nullable String title)
title - Resource id for the title in the status bar notification.NotificationCompat.Builder.setContentTitle(CharSequence)@NonNull NotificationConfigurationBuilder setResTitle(@StringRes int resTitle)
resTitle - Resource id for the title in the status bar notification.NotificationCompat.Builder.setContentTitle(CharSequence)@NonNull NotificationConfigurationBuilder setText(@Nullable String text)
text - Resource id for the text in the status bar notification.NotificationCompat.Builder.setContentText(CharSequence)@NonNull NotificationConfigurationBuilder setResText(@StringRes int resText)
resText - Resource id for the text in the status bar notification.NotificationCompat.Builder.setContentText(CharSequence)@NonNull NotificationConfigurationBuilder setTickerText(@Nullable String tickerText)
tickerText - Resource id for the ticker text in the status bar notification.NotificationCompat.Builder.setTicker(CharSequence)@NonNull NotificationConfigurationBuilder setResTickerText(@StringRes int resTickerText)
resTickerText - Resource id for the ticker text in the status bar notification.NotificationCompat.Builder.setTicker(CharSequence)@NonNull NotificationConfigurationBuilder setSendButtonText(@NonNull String sendButtonText)
sendButtonText - Resource id for the send button text in the status bar notification.NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)@NonNull NotificationConfigurationBuilder setResSendButtonText(@StringRes int resSendButtonText)
resSendButtonText - Resource id for the send button text in the status bar notification.NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)@NonNull NotificationConfigurationBuilder setResSendButtonIcon(@DrawableRes int resSendButtonIcon)
resSendButtonIcon - Resource id for the send button icon in the status bar notification.NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)@NonNull NotificationConfigurationBuilder setDiscardButtonText(@NonNull String discardButtonText)
discardButtonText - Resource id for the discard button text in the status bar notification.NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)@NonNull NotificationConfigurationBuilder setResDiscardButtonText(@StringRes int resDiscardButtonText)
resDiscardButtonText - Resource id for the discard button text in the status bar notification.NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)@NonNull NotificationConfigurationBuilder setResDiscardButtonIcon(@DrawableRes int resDiscardButtonIcon)
resDiscardButtonIcon - Resource id for the discard button icon in the status bar notification.NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)@NonNull NotificationConfigurationBuilder setChannelName(@Nullable String channelName)
channelName - Resource id for the notification channel nameNotificationChannel.NotificationChannel(String, CharSequence, int)@NonNull NotificationConfigurationBuilder setResChannelName(@StringRes int resChannelName)
resChannelName - Resource id for the notification channel nameNotificationChannel.NotificationChannel(String, CharSequence, int)@NonNull NotificationConfigurationBuilder setChannelDescription(@Nullable String channelDescription)
channelDescription - Resource id for the notification channel descriptionNotificationChannel.setDescription(String)@NonNull NotificationConfigurationBuilder setResChannelDescription(@StringRes int resChannelDescription)
resChannelDescription - Resource id for the notification channel descriptionNotificationChannel.setDescription(String)@NonNull NotificationConfigurationBuilder setResChannelImportance(int resChannelImportance)
resChannelImportance - notification channel importance. Default is NotificationManager.IMPORTANCE_HIGHNotificationChannel.NotificationChannel(String, CharSequence, int)@NonNull NotificationConfigurationBuilder setSendWithCommentButtonText(@Nullable String sendWithCommentButtonText)
sendWithCommentButtonText - Resource id for the send with comment button text in the status bar notification.NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)@NonNull NotificationConfigurationBuilder setResSendWithCommentButtonText(@StringRes int resSendWithCommentButtonText)
resSendWithCommentButtonText - Resource id for the send with comment button text in the status bar notification.NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)@NonNull NotificationConfigurationBuilder setResSendWithCommentButtonIcon(@DrawableRes int resSendWithCommentButtonIcon)
resSendWithCommentButtonIcon - Resource id for the send with comment button icon in the status bar notification.NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)@NonNull NotificationConfigurationBuilder setCommentPrompt(@Nullable String commentPrompt)
commentPrompt - Resource id for the user comment input label in the notification action.RemoteInput.Builder.setLabel(CharSequence)@NonNull NotificationConfigurationBuilder setResCommentPrompt(@StringRes int resCommentPrompt)
resCommentPrompt - Resource id for the user comment input label in the notification action.RemoteInput.Builder.setLabel(CharSequence)@NonNull NotificationConfigurationBuilder setSendOnClick(boolean sendOnClick)
sendOnClick - if a normal click on the notification should send the report