var notif = new Notification("My Title", "Some content")
notif.ticker = "Ticker text"
notif.show
# Update the notification
notif.text = "New content!"
notif.ongoing = true # Make it un-dismissable
notif.show
# Hide the notification
notif.cancel
For more information, see: http://developer.android.com/guide/topics/ui/notifiers/notifications.html