This API is available on Firefox OS for internal applications 仅。
sendStkResponse
method is used to send a response back to
ICC
after an attempt to execute
STK
Proactive Command.
navigator.mozMobileConnection.icc.sendStkResponse(command, response);
命令
stkcommand
事件。
response
stkCommand
object is an arbitrary JavaScript object with the following properties (see
MozStkCommandEvent
了解细节):
commandNumber
typeOfCommand
MozIccManager.STK_CMD_*
常量。
commandQualifier
A qualifier number specific to the command.
选项
typeOfCommand
特性。
stkResponse
object is an arbitrary JavaScript object with the following properties (the required properties depend on the command type):
resultCode
MozIccManager.STK_RESULT_*
常量。
itemIdentifier
input
A string representing any user input.
isYesNo
A boolean representing a Yes/No answer.
hasConfirm
MozIccManager.STK_CMD_CALL_SET_UP
.
localInfo
MozIccManager.STK_CMD_PROVIDE_LOCAL_INFO
.
timer
MozIccManager.STK_CMD_TIMER_MANAGEMENT
.
Not part of any specification.
Archive
CFStateChangeEvent
DataErrorEvent
IccCardLockError
IccCardLockErrorEvent
MozCellBroadcastEvent
MozEmergencyCbModeEvent
MozIccManager
MozMobileCFInfo
MozMobileCellInfo
MozMobileConnection
MozMobileConnectionInfo
MozMobileICCInfo
MozMobileNetworkInfo
MozOtaStatusEvent
MozStkCommandEvent
USSDReceivedEvent