@Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface AcraNotification
Modifier and Type | Required Element and Description |
---|---|
int |
resChannelName
notification channel name.
|
int |
resText
text in the notification
|
int |
resTitle
title of the notification
|
Modifier and Type | Optional Element and Description |
---|---|
int |
resChannelDescription
notification channel description
|
int |
resChannelImportance
notification channel importance.
|
int |
resCommentPrompt
in-line comment prompt label.
|
int |
resDiscardButtonIcon
discard button icon shown in collapsed and sometimes expanded view
|
int |
resDiscardButtonText
discard button text shown in expanded view
|
int |
resIcon
icon of the notification
|
int |
resSendButtonIcon
send button icon shown in collapsed and sometimes expanded view
|
int |
resSendButtonText
send button text shown in expanded view
|
int |
resSendWithCommentButtonIcon
in-line comment button icon.
|
int |
resSendWithCommentButtonText
in-line comment button text.
|
int |
resTickerText
ticker text for the notification
|
boolean |
sendOnClick
enable to send report even on normal click, not only on button click
|
@StringRes public abstract int resTitle
NotificationCompat.Builder.setContentTitle(CharSequence)
@StringRes public abstract int resText
NotificationCompat.Builder.setContentText(CharSequence)
@StringRes public abstract int resChannelName
NotificationChannel.NotificationChannel(String, CharSequence, int)
@DrawableRes public abstract int resIcon
NotificationCompat.Builder.setSmallIcon(int)
@StringRes public abstract int resTickerText
NotificationCompat.Builder.setTicker(CharSequence)
@StringRes public abstract int resSendButtonText
NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)
@DrawableRes public abstract int resSendButtonIcon
NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)
@StringRes public abstract int resDiscardButtonText
NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)
@DrawableRes public abstract int resDiscardButtonIcon
NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)
@StringRes public abstract int resChannelDescription
NotificationChannel.setDescription(String)
public abstract int resChannelImportance
NotificationManager.IMPORTANCE_HIGH
NotificationChannel.NotificationChannel(String, CharSequence, int)
@StringRes public abstract int resSendWithCommentButtonText
NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)
@DrawableRes public abstract int resSendWithCommentButtonIcon
NotificationCompat.Builder.addAction(int, CharSequence, PendingIntent)