This function converts the menu item collection to a JSON string.
This function is used as a helper for hwc.addMenuItemCollection.
stringify() → {string}
The JSON string representing this menu item collection.
Type:
string
var callbackFunctionName = function()
{
alert( "Menu item clicked!" );
}
var menuItemCollection = new hwc.MenuItemCollection();
var jsonMenuItemCollection = menuItemCollection.stringify();