WebAPI/WebSTK: Difference between revisions

Line 418: Line 418:
   */  
   */  
   readonly attribute boolean isHelpAvailable;
   readonly attribute boolean isHelpAvailable;
};
</pre>
===== Browser Settings =====
<pre>
interface nsIDOMMozStkBrowserSetting : nsISupports
{
  /**
  * Browser launch mode.
  */
  const unsigned short MODE_LAUNCH_IF_NOT_ALREADY_LAUNCHED = 0x00;
  // 0x01 is not used.
  const unsigned short MODE_USING_EXISTING_BROWSER        = 0x02;
  const unsigned short MODE_USING_NEW_BROWSER              = 0x03;
  /**
  * Confirm message to launch browser.
  */
  readonly attribute nsIDOMMozStkTextMessage confirmMessage;
  /**
  * The URL to be opened by browser.
  */
  readonly attribute DOMString url;
  /**
  * One of MODE_*.
  */
  readonly attribute unsigned short mode;
};
</pre>
===== Call Set Up =====
<pre>
interface nsIDOMMozStkSetUpCall : nsISupports
{
  /**
  * The Dialling number.
  */
  readonly attribute DOMString address;
  /**
  * The text message used in user confirmation phase.
  */
  readonly attribute nsIDOMMozStkTextMessage confirmMessage;
  /**
  * The text message used in call set up phase.
  */
  readonly attribute nsIDOMMozStkTextMessage callMessage;
};
};
</pre>
</pre>
Confirmed users
266

edits