WebAPI/WebSTK: Difference between revisions

Line 3: Line 3:


= Interface =
= Interface =
Event handler for STK events.
<pre>
  /**
  * The 'stkcommand' event is notified whenever STK Proactive Command is
  * issued from ICC.
  */
  attribute nsIDOMEventListener onstkcommand;
 
  /**
  * 'stksessionend' event is notified whenever STK Session is terminated by
  * ICC.
  */
  attribute nsIDOMEventListener onstksessionend;
</pre>
Send Response from ME to SIM
<pre>
  /**
  * Send the response back to ICC after an attempt to execute STK Proactive
  * Command.
  */
  void sendStkResponse(in nsIDOMMozStkResponse response);
</pre>


STK constants
<pre>
<pre>
interface nsIDOMMozStkConstants : nsISupports
interface nsIDOMMozStkConstants : nsISupports
Line 79: Line 103:
</pre>
</pre>


UI parts:
<pre>
<pre>
interface nsIDOMMozStkTextMessage : nsISupports
interface nsIDOMMozStkTextMessage : nsISupports
Line 285: Line 310:
</pre>
</pre>


For vaious parameters contained in StkCommand
<pre>
<pre>
interface nsIDOMMozStkCmdParameter : nsISupports
interface nsIDOMMozStkCmdParameter : nsISupports
Line 367: Line 393:
</pre>
</pre>


STK commands.
<pre>
<pre>
interface nsIDOMMozStkCmdDetails : nsIDOMMozStkConstants  
interface nsIDOMMozStkCmdDetails : nsIDOMMozStkConstants  
Line 414: Line 441:
</pre>
</pre>


STK response.
<pre>
<pre>
interface nsIDOMMozStkResponse : nsIDOMMozStkConstants  
interface nsIDOMMozStkResponse : nsIDOMMozStkConstants  
Confirmed users
266

edits