object Notification
Main object for Cordova notifications.
fun alert(message: String, title: String? = null, buttonLabel: String? = null, callback: () -> Unit): Unit
Show alert dialog. |
|
fun beep(times: Int = 1): Unit
Play a beep sound. |
|
fun confirm(message: String, title: String? = null, buttonLabels: List<String>? = null, callback: (Int) -> Unit): Unit
Show confirm dialog. |
|
fun prompt(message: String, title: String? = null, buttonLabels: List<String>? = null, defaultText: String? = null, callback: (PromptResponse) -> Unit): Unit
Show prompt dialog. |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |