kutils / com.celites.kutils / android.content.Context / setNotification

setNotification

@JvmOverloads inline fun Context.setNotification(id: Int = 0, channelName: String = "Default", builderMethod: Builder.() -> Any): Unit

Sends notifications

Parameters

id - : Notification Id, defaults to 0

channelName - : Name of the channel

builderMethod - : Lambda to build notification