mozilla
Your Search Results

    Navigator.mozMobileConnections

    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.

    navigator.mozMobileConnections returns an array of MozMobileConnection objects, which you can use to get information about the current mobile voice and data connection states of the device.

    Note: The syntax used to be window.navigator.mozMobileConnection, returning a single MozMobileConnection object, but this was updated in Firefox 1.3 due to the introduction of Multi-SIM support (Dual-SIM-Dual-Standby or DSDS).

    Syntax

    var mobileConnections = window.navigator.mozMobileConnections;
    

    Value

    navigator.mozMobileConnections returns an array of MozMobileConnection objects you can use to get information about the current mobile voice and data connection states of the device.

    This object also includes ICC-related (SIM/RUIM card) functionalities.

    Specification

    Not part of any specification

    See Also

    Document Tags and Contributors

    Contributors to this page: teoli, chrisdavidmills
    Last updated by: teoli,
    Hide Sidebar