setOngoing

fun setOngoing(ongoing: Boolean)

Sets whether the notification should be ongoing. If false the user can dismiss the notification by swiping. If in addition the stop action is enabled dismissing the notification triggers the stop action.

See setOngoing.

Parameters

ongoing

Whether true the notification is ongoing and not dismissible.