WebAPI/WebSTK: Difference between revisions

Line 184: Line 184:
=== STK command ===
=== STK command ===
<pre>
<pre>
dictionary nsIDOMMozStkCommand
dictionary MozStkCommand
{
{
   /**
   /**
Line 205: Line 205:


   /**
   /**
   * options varies accrording to the typeOfCommand in nsIDOMMozStkCommand.
   * options varies accrording to the typeOfCommand in MozStkCommand.
   *
   *
   * When typeOfCommand is
   * When typeOfCommand is
   * - STK_DISPLAY_TEXT
   * - STK_CMD_DISPLAY_TEXT
   * - STK_SET_UP_IDLE_MODE_TEXT
   * - STK_CMD_SET_UP_IDLE_MODE_TEXT
   * - STK_REFRESH
   * - STK_CMD_SEND_{SS|USSD|SMS|DTMF},
  * - STK_SEND_{SS|USSD|SMS|DTMF},
   * options is MozStkTextMessage.
   * options is nsIDOMMozStkTextMessage.
   *
   *
   * When typeOfCommand is
   * When typeOfCommand is
   * - STK_SELECT_ITEM
   * - STK_CMD_SELECT_ITEM
   * - STK_SET_UP_MENU
   * - STK_CMD_SET_UP_MENU
   * options is nsIDOMMozStkMenu.
   * options is MozStkMenu.
   *
   *
   * When typeOfCommand is
   * When typeOfCommand is
   * - STK_GET_INKEY
   * - STK_CMD_GET_INKEY
   * - STK_GET_INPUT,
   * - STK_CMD_GET_INPUT,
   * options is nsIDOMMozStkInput.
   * options is MozStkInput.
   *
   *
   * When typeOfCommand is
   * When typeOfCommand is
   * - STK_LAUNCH_BROWSER
   * - STK_CMD_LAUNCH_BROWSER
   * options is nsIDOMMozStkBrowserSetting.
   * options is MozStkBrowserSetting.
   *
   *
   * When typeOfCommand is
   * When typeOfCommand is
   * - STK_SET_UP_CALL
   * - STK_CMD_SET_UP_CALL
   * options is nsIDOMMozStkSetUpCall.
   * options is MozStkSetUpCall.
  *
  * When typeOfCommand is
  * - STK_CMD_SET_UP_EVENT_LIST
  * options is MozStkSetUpEventList.
  *
  * When typeOfCommand is
  * - STK_CMD_PLAY_TONE
  * options is MozStkPlayTone.
  *
  * When typeOfCommand is
  * - STK_CMD_POLL_INTERVAL
  * options is MozStkDuration.
  *
  * When typeOfCommand is
  * - STK_CMD_POLL_OFF
  * options is null.
  *
  * When typeOfCommand is
  * - STK_CMD_REFRESH
  * options is null.
   */
   */
   jsval options;
   jsval options;
Line 239: Line 258:
===== Text Message =====
===== Text Message =====
<pre>
<pre>
dictionary nsIDOMMozStkTextMessage
dictionary MozStkTextMessage
{
{
   /**
   /**
Line 296: Line 315:
===== Menu =====
===== Menu =====
<pre>
<pre>
dictionary nsIDOMMozStkItem
dictionary MozStkItem
{
{
   /**
   /**
Line 314: Line 333:


<pre>
<pre>
dictionary nsIDOMMozStkMenu
dictionary MozStkMenu
{
{
   /**
   /**
   * Array of nsIDOMMozStkItem.
   * Array of MozStkItem.
   *
   *
   * @see TS 11.14, clause 12.9
   * @see TS 11.14, clause 12.9
   */
   */
   jsval items; // nsIDOMMozStkItem[]
   jsval items; // MozStkItem[]


   /**
   /**
Line 352: Line 371:
===== Input =====
===== Input =====
<pre>
<pre>
dictionary nsIDOMMozStkInput
dictionary MozStkInput
{
{
   /**
   /**
Line 440: Line 459:
===== Browser Settings =====
===== Browser Settings =====
<pre>
<pre>
dictionary nsIDOMMozStkBrowserSetting
dictionary MozStkBrowserSetting
{
{
   /**
   /**
   * Confirm message to launch browser.
   * Confirm message to launch browser.
   *
   *
   * @see nsIDOMMozStkTextMessage for the detail specification of
   * @see MozStkTextMessage for the detail specification of
   *      confirmMessage.
   *      confirmMessage.
   */
   */
Line 466: Line 485:
===== Set Up Call =====
===== Set Up Call =====
<pre>
<pre>
dictionary nsIDOMMozStkSetUpCall
dictionary MozStkSetUpCall
{
{
   /**
   /**
Line 476: Line 495:
   * The text message used in user confirmation phase.
   * The text message used in user confirmation phase.
   *
   *
   * @see nsIDOMMozStkTextMessage for the detail specification of
   * @see MozStkTextMessage for the detail specification of
   *      confirmMessage.
   *      confirmMessage.
   */
   */
Line 484: Line 503:
   * The text message used in call set up phase.
   * The text message used in call set up phase.
   *
   *
   * @see nsIDOMMozStkTextMessage for the detail specification of
   * @see MozStkTextMessage for the detail specification of
   *      callMessage.
   *      callMessage.
   */
   */
Confirmed users
266

edits