NotifierBuilder

Builder used by Notifier.notify to configure a local notification.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

List of action buttons to display with the notification

Link copied to clipboard

Notification body message.

Link copied to clipboard
var id: Int

Notification id. Defaults to a random non-negative value; pass your own to update or remove later.

Link copied to clipboard

Optional large image, from a URL or a file path.

Link copied to clipboard

Extra payload delivered back on click and action events.

Link copied to clipboard

Epoch millis (or millis from now for small values) to schedule the notification; 0 shows immediately.

Link copied to clipboard

Notification title.

Functions

Link copied to clipboard
fun payload(block: MutableMap<String, String>.() -> Unit)

DSL for building payloadData.