HL.Notification

class HL.Notification

Runtime object.

Methods

HL.Notification.dismiss()

Dismiss the notification.

HL.Notification.pause()
HL.Notification.resume()
HL.Notification.set_paused(paused)

Control notification pause state.

HL.Notification.is_alive()
HL.Notification.is_paused()

Query notification state.

HL.Notification.get_text()
HL.Notification.set_text(text)

Get or set notification text.

HL.Notification.get_timeout()
HL.Notification.set_timeout(timeout)

Get or set timeout.

HL.Notification.get_color()
HL.Notification.set_color(color)

Get or set color.

HL.Notification.get_icon()
HL.Notification.set_icon(icon)

Get or set icon.

HL.Notification.get_font_size()
HL.Notification.set_font_size(size)

Get or set font size.