Confirmed users
266
edits
Allstars.chh (talk | contribs) |
Allstars.chh (talk | contribs) |
||
Line 184: | Line 184: | ||
=== STK command === | === STK command === | ||
<pre> | <pre> | ||
dictionary | dictionary MozStkCommand | ||
{ | { | ||
/** | /** | ||
Line 205: | Line 205: | ||
/** | /** | ||
* options varies accrording to the typeOfCommand in | * options varies accrording to the typeOfCommand in MozStkCommand. | ||
* | * | ||
* When typeOfCommand is | * When typeOfCommand is | ||
* - | * - STK_CMD_DISPLAY_TEXT | ||
* - | * - STK_CMD_SET_UP_IDLE_MODE_TEXT | ||
* - | * - STK_CMD_SEND_{SS|USSD|SMS|DTMF}, | ||
* options is MozStkTextMessage. | |||
* options is | |||
* | * | ||
* When typeOfCommand is | * When typeOfCommand is | ||
* - | * - STK_CMD_SELECT_ITEM | ||
* - | * - STK_CMD_SET_UP_MENU | ||
* options is | * options is MozStkMenu. | ||
* | * | ||
* When typeOfCommand is | * When typeOfCommand is | ||
* - | * - STK_CMD_GET_INKEY | ||
* - | * - STK_CMD_GET_INPUT, | ||
* options is | * options is MozStkInput. | ||
* | * | ||
* When typeOfCommand is | * When typeOfCommand is | ||
* - | * - STK_CMD_LAUNCH_BROWSER | ||
* options is | * options is MozStkBrowserSetting. | ||
* | * | ||
* When typeOfCommand is | * When typeOfCommand is | ||
* - | * - STK_CMD_SET_UP_CALL | ||
* options is | * 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 | dictionary MozStkTextMessage | ||
{ | { | ||
/** | /** | ||
Line 296: | Line 315: | ||
===== Menu ===== | ===== Menu ===== | ||
<pre> | <pre> | ||
dictionary | dictionary MozStkItem | ||
{ | { | ||
/** | /** | ||
Line 314: | Line 333: | ||
<pre> | <pre> | ||
dictionary | dictionary MozStkMenu | ||
{ | { | ||
/** | /** | ||
* Array of | * Array of MozStkItem. | ||
* | * | ||
* @see TS 11.14, clause 12.9 | * @see TS 11.14, clause 12.9 | ||
*/ | */ | ||
jsval items; // | jsval items; // MozStkItem[] | ||
/** | /** | ||
Line 352: | Line 371: | ||
===== Input ===== | ===== Input ===== | ||
<pre> | <pre> | ||
dictionary | dictionary MozStkInput | ||
{ | { | ||
/** | /** | ||
Line 440: | Line 459: | ||
===== Browser Settings ===== | ===== Browser Settings ===== | ||
<pre> | <pre> | ||
dictionary | dictionary MozStkBrowserSetting | ||
{ | { | ||
/** | /** | ||
* Confirm message to launch browser. | * Confirm message to launch browser. | ||
* | * | ||
* @see | * @see MozStkTextMessage for the detail specification of | ||
* confirmMessage. | * confirmMessage. | ||
*/ | */ | ||
Line 466: | Line 485: | ||
===== Set Up Call ===== | ===== Set Up Call ===== | ||
<pre> | <pre> | ||
dictionary | dictionary MozStkSetUpCall | ||
{ | { | ||
/** | /** | ||
Line 476: | Line 495: | ||
* The text message used in user confirmation phase. | * The text message used in user confirmation phase. | ||
* | * | ||
* @see | * @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 | * @see MozStkTextMessage for the detail specification of | ||
* callMessage. | * callMessage. | ||
*/ | */ |