notify
abstract fun notify(title: String, body: String, payloadData: Map<String, String> = emptyMap()): Int
Sends local notification to device
Return
notification id
Parameters
title
Title part
body
Body part
payloadData
Extra payload data information.
abstract fun notify(id: Int, title: String, body: String, payloadData: Map<String, String> = emptyMap())
Sends local notification to device with id
Parameters
id
notification id
title
Title part
body
Body part
payloadData
Extra payload data information
Sends local notification to device, with notification builder that allows you to set notification params