Confirmed users
258
edits
Line 40: | Line 40: | ||
[implicit_jscontext] attribute jsval oniccremove; | [implicit_jscontext] attribute jsval oniccremove; | ||
} | } | ||
=== Use Case === | |||
==== Stk ==== | |||
*Current B2G: | |||
icc.onstkcommand = function (evt) { | |||
var command = evt.command; | |||
switch (command.typeOfCommand) { | |||
... | |||
} | |||
} | |||
* Multi-SIM: | |||
var icc = iccManager.getIccById(iccId); | |||
icc.onstkcommand = function (evt) { | |||
var command = evt.command; | |||
switch (command.typeOfCommand) { | |||
... | |||
} | |||
} |