Show a native dialog to the user.
function showDialog ( string title, string message, string positive, string neutral, string negative, boolean cancelable [, function callback ] )
- Parameters
-
string | title The title of the dialog box. Can be nil. |
string | message The message to show the user. Can be nil. |
string | positive The text for the positive response dialog button. Can be nil. |
string | neutral The text for the neutral response dialog button. Can be nil. |
string | negative The text for the negative response dialog button. Can be nil. |
boolean | cancelable Specifies whether or not the dialog is cancelable |
function | callback Optional. A function to callback when the dialog is dismissed. Default is nil. |
- Returns
- nil