withText

Sets the message of the notification

Author

Arnau Mora

Since

20210313

Return

The Builder instance

Parameters

text

The message of the notification


fun withText(@StringRes messageRes: Int, vararg arguments: Any): Notification.Builder

Sets the message of the notification from a resource

Author

Arnau Mora

Since

20210313

Return

The Builder instance

Parameters

messageRes

The resource string of the message of the notification

arguments

Arguments for filling the message