Notifier

interface Notifier

Class that represent local notification

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun notify(title: String, body: String, payloadData: Map<String, String> = emptyMap()): Int

Sends local notification to device

abstract fun notify(id: Int, title: String, body: String, payloadData: Map<String, String> = emptyMap())

Sends local notification to device with id

Link copied to clipboard
abstract fun remove(id: Int)

Remove notification by id

Link copied to clipboard
abstract fun removeAll()

Removes all previously shown notifications