showAlertDialog( message, [title] ) method

Displays an alert dialog to the user.

This function blocks until it receives a response from the user.

Syntax

<static> showAlertDialog( message, [title] )

Parameters

Name Type Argument Description
message string   The message to display
title string (optional) The title doesn't actually get displayed.

Example

hwc.showAlertDialog( "This is a fancy alert dialog", "With a Title" );

Source

hwc-comms.js, line 1517.