withTitle

Sets the title of the notification

Author

Arnau Mora

Since

20210313

Return

The Builder instance

Parameters

title

The title of the notification


fun withTitle(@StringRes titleRes: Int, vararg arguments: Any): Notification.Builder

Sets the title of the notification from a resource

Author

Arnau Mora

Since

20210313

Return

The Builder instance

Parameters

titleRes

The resource string of the title of the notification

arguments

Arguments for filling the title