This API is available on Firefox OS for internal applications 仅。
sendMMI
method is used to send an
MMI
代码。
var request = navigator.mozMobileConnection.sendMMI(message);
A
DOMRequest
object to handle the success or error of the method call.
In cases where the
MMI
code requires sending an
USSD
request, the request's
success
means that the
RIL
has successfully processed and sent the
USSD
request to the network. The network reply is reported via the
MozMobileConnection.onussdreceived
event handler. If the
MMI
code is not associated with a
USSD
but with another
RIL
request, its result, if one is needed, is sent via the returned request's
success
or
error
.
Not part of any specification.
Archive
CFStateChangeEvent
DataErrorEvent
IccCardLockError
IccCardLockErrorEvent
MozCellBroadcastEvent
MozEmergencyCbModeEvent
MozIccManager
MozMobileCFInfo
MozMobileCellInfo
MozMobileConnection
MozMobileConnectionInfo
MozMobileICCInfo
MozMobileNetworkInfo
MozOtaStatusEvent
MozStkCommandEvent
USSDReceivedEvent