www.webOShelp.net

Get the latest on:webOS Developers' RSS FeedwebOS Facebook page webOS Twitter Feed

Home Resources API Reference Mojo.Controller.AppController.showBanner(bannerParamsbannerParams, launchArguments, category)

Mojo.Controller.AppController.showBanner(bannerParamsbannerParams, launchArguments, category)

Shows a banner containing the message text from bannerParams. launchArguments will be used to launch or relaunch the application if the banner is tapped by the user. 

Argument Type Description
bannerParams String|Object

String: Text displayed on banner

Object: Contains the following properties:

messageText: Text displayed on banner

soundClass: string containing name of sound class to use.

soundFile: relative or full path to sound file to play

icon: relative or full path to icon to be displayed with banner

launchArguments

String

Arguments sent to the application when it is launched or re-launched after the banner is tapped.
category String Banners of the same category replace other banners of the same cateogry in the banner queue.  A banner that is in the process of being displayed to the user cannot be replaced whether or not it is of the same category.  Defaults to 'banner'.
 

0 Comments

    Add Comment


      • >:o
      • :-[
      • :'(
      • :-(
      • :-D
      • :-*
      • :-)
      • :P
      • :\
      • 8-)
      • ;-)