object NotificationOptions
- Alphabetic
- By Inheritance
- NotificationOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(body: UndefOr[String] = js.undefined, dir: UndefOr[String] = js.undefined, icon: UndefOr[String] = js.undefined, lang: UndefOr[String] = js.undefined, noscreen: UndefOr[Boolean] = js.undefined, renotify: UndefOr[Boolean] = js.undefined, silent: UndefOr[Boolean] = js.undefined, sound: UndefOr[String] = js.undefined, sticky: UndefOr[Boolean] = js.undefined, tag: UndefOr[String] = js.undefined, onclick: UndefOr[Function0[Any]] = js.undefined, onerror: UndefOr[Function0[Any]] = js.undefined, vibrate: UndefOr[Array[Double]] = js.undefined): NotificationOptions
Construct a new NotificationOptions
Construct a new NotificationOptions
- body
The body text of the notification.
- dir
The text direction of the notification.
- icon
The icon URL of the notification.
- lang
The text direction of the notification.
- noscreen
Boolean indicating if notification firing should enable the device's screen or not
- renotify
Boolean indicating whether the user should be notified after a new notification replaces an old one.
- silent
Boolean indicating specifies whether the notification should be silent, i.e. no sounds or vibrations should be issued, regardless of the device settings
- sound
The URL of an audio file to be played when the notification fires.
- sticky
Boolean indicating whether the notification should be 'sticky', i.e. not easily clearable by the user.
- tag
A text identifying tag for the notification.
- vibrate
The vibration pattern for hardware to emit
- returns
a new NotificationOptions
- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()