duration

abstract var duration: Double

The duration in milliseconds to show the notification. Set to 0 or a negative number to disable the notification auto-closing.