mozilla
Your Search Results

    MozMobileConnection.sendMMI()

    This article is in need of a technical review.

    Non-standard
    This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.

    This API is available on Firefox OS for internal applications only.

    Summary

    The sendMMI method is used to send an MMI code.

    Syntax

    var request = navigator.mozMobileConnection.sendMMI(message);

    Parameters

    message
    A string representing an MMI code that can be associated with a USSD request or other RIL functionality.

    Return

    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.

    Specification

    Not part of any specification.

    See also

    Document Tags and Contributors

    Contributors to this page: Sheppy, jswisher, kscarfone, fscholz, Jeremie
    Last updated by: fscholz,
    Hide Sidebar