Packages

object NotificationOptions

Annotations
@deprecated
Deprecated

(Since version 2.0.0) all members of NotificationOptions are deprecated

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NotificationOptions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. 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[Function1[Event, Any]] = js.undefined, onerror: UndefOr[Function1[ErrorEvent, 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
    @deprecated @inline()
    Deprecated

    (Since version 2.0.0) use new NotificationOptions { ... } instead

Inherited from AnyRef

Inherited from Any

Ungrouped