Notification

Main object for Cordova notifications.

Functions

Link copied to clipboard
fun alert(message: String, title: String? = null, buttonLabel: String? = null, callback: () -> Unit)

Show alert dialog.

Link copied to clipboard
fun beep(times: Int = 1)

Play a beep sound.

Link copied to clipboard
fun confirm(message: String, title: String? = null, buttonLabels: List<String>? = null, callback: (Int) -> Unit)

Show confirm dialog.

Link copied to clipboard
fun prompt(message: String, title: String? = null, buttonLabels: List<String>? = null, defaultText: String? = null, callback: (PromptResponse) -> Unit)

Show prompt dialog.