withDiscardButtonText

fun withDiscardButtonText(discardButtonText: String): NotificationConfigurationBuilder

discard button text shown in expanded view

Since

5.0.0

Return

this instance

See also

androidx.core.app.NotificationCompat.Builder

#addAction(int, CharSequence, PendingIntent)

Parameters

discardButtonText

Resource id for the discard button text in the status bar notification.