Version: Smart Feature Phone 2.5
mozHasPendingMessage
#
SummaryThis method is used to know if there are pending messages of a given type true
ot not false
.
When navigator.mozSetMessageHandler() is used to set a handler for the type, the pending messages will be asynchronously delivered to the application.
#
Syntaxnavigator.mozHasPendingMessage(type);
#
Parameterstype
- A string representing the kind of message the app wants to register a handler function for. For a full list of available types, see navigator.mozSetMessageHandler().
#
ReturnA boolean.