WebAPI/WebSTK: Difference between revisions

Line 479: Line 479:
=== STK response ===
=== STK response ===
<pre>
<pre>
[Constructor (number, type, qualifier)]
dictionary nsIDOMMozStkResponse
interface nsIDOMMozStkResponse : nsISupports
{
{
   /**
   /**
   * number from MozStkCommand..
   * commandNumber from MozStkCommand.
   *
   *
   * @see nsIDOMMozStkCommand.number
   * @see nsIDOMMozStkCommand.commandNumber
   */  
   */
   readonly attribute unsigned short number;
   unsigned short commandNumber;


   /**
   /**
   * One of nsIDOMMozStkCommand.type
   * One of nsIDOMMozStkCommand.typeOfCommand
   *
   *
   * @see nsIDOMMozStkCommand.type
   * @see nsIDOMMozStkCommand.typeOfCommand
   */
   */
   readonly attribute unsigned short type;  
   unsigned short typeOfCommand;


   /**
   /**
   * Qualifiers specific to the command.
   * Qualifiers specific to the command.
   *
   *
   * @see nsIDOMMozStkCommand.qualifier
   * @see nsIDOMMozStkCommand.commandQualifier
   */  
   */
   readonly attribute unsigned short qualifier;
   unsigned short commandQualifier;


   /**
   /**
   * One of RESULT_*
   * One of RESULT_*
   */  
   */
   attribute unsigned short resultCode;
   unsigned short resultCode;


   /**
   /**
Line 512: Line 511:
   *
   *
   * @see nsIDOMMozStkItem.identifier
   * @see nsIDOMMozStkItem.identifier
   */  
   */
   attribute unsigned short itemIdentifier;
   unsigned short itemIdentifier;


   /**
   /**
   * User input.
   * User input.
   */  
   */
   attribute DOMString input;
   DOMString input;


   /**
   /**
Line 524: Line 523:
   *
   *
   * @see nsIDOMMozStkInput.isUCS2
   * @see nsIDOMMozStkInput.isUCS2
   */  
   */
   attribute boolean isUCS2;
   boolean isUCS2;


   /**
   /**
Line 531: Line 530:
   *
   *
   * @see nsIDOMMozStkInput.isYesNoRequested
   * @see nsIDOMMozStkInput.isYesNoRequested
   */  
   */
   attribute boolean isYesNo;
   boolean isYesNo;


   /**
   /**
Line 538: Line 537:
   *
   *
   * @see nsIDOMMozStkInput.isPacked
   * @see nsIDOMMozStkInput.isPacked
   */  
   */
   attribute boolean isPacked;
   boolean isPacked;


   /**
   /**
   * User has confirmed or rejected the call during STK_CMD_CALL_SET_UP.
   * User has confirmed or rejected the call during STK_CMD_CALL_SET_UP.
   *  
   *
   * @see RIL_REQUEST_STK_HANDLE_CALL_SETUP_REQUESTED_FROM_SIM
   * @see RIL_REQUEST_STK_HANDLE_CALL_SETUP_REQUESTED_FROM_SIM
   *
   *
   * true: Confirmed by User.
   * true: Confirmed by User.
   * false: Rejected by User.
   * false: Rejected by User.
   */  
   */
   attribute boolean hasConfirmed;
   boolean hasConfirmed;
};
};
</pre>
</pre>
Confirmed users
266

edits