NotificationOptions

external interface NotificationOptions(source)

Since Kotlin

1.1
external interface NotificationOptions : JsAny(source)

Since Kotlin

1.8

Properties

Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var badge: String?
Since Kotlin 1.1
open var badge: String?
Since Kotlin 1.8
Link copied to clipboard
open var body: String?
Since Kotlin 1.1
open var body: String?
Since Kotlin 1.8
Link copied to clipboard
open var data: Any?
Since Kotlin 1.1
open var data: JsAny?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var icon: String?
Since Kotlin 1.1
open var icon: String?
Since Kotlin 1.8
Link copied to clipboard
open var image: String?
Since Kotlin 1.1
open var image: String?
Since Kotlin 1.8
Link copied to clipboard
open var lang: String?
Since Kotlin 1.1
open var lang: String?
Since Kotlin 1.8
Link copied to clipboard
open var noscreen: Boolean?
Since Kotlin 1.1
open var noscreen: Boolean?
Since Kotlin 1.8
Link copied to clipboard
open var renotify: Boolean?
Since Kotlin 1.1
open var renotify: Boolean?
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8
Link copied to clipboard
open var silent: Boolean?
Since Kotlin 1.1
open var silent: Boolean?
Since Kotlin 1.8
Link copied to clipboard
open var sound: String?
Since Kotlin 1.1
open var sound: String?
Since Kotlin 1.8
Link copied to clipboard
open var sticky: Boolean?
Since Kotlin 1.1
open var sticky: Boolean?
Since Kotlin 1.8
Link copied to clipboard
open var tag: String?
Since Kotlin 1.1
open var tag: String?
Since Kotlin 1.8
Link copied to clipboard
open var timestamp: Number?
Since Kotlin 1.1
open var timestamp: JsNumber?
Since Kotlin 1.8
Link copied to clipboard
open var vibrate: dynamic
Since Kotlin 1.1
open var vibrate: JsAny?
Since Kotlin 1.8

Functions

Link copied to clipboard

For a Dynamic value caught in JS, returns the corresponding Throwable if it was thrown from Kotlin, or null otherwise.

Since Kotlin 1.8
Link copied to clipboard
fun <T : JsAny> JsAny.unsafeCast(): T

Cast JsAny to other Js type without runtime check

Since Kotlin 1.8