mozilla
Your Search Results

    WifiManager.connection

    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 connection property value provides the status and current network in used by the WiFi adapter.

    Syntax

    var mac = navigator.mozWifiManager.connection

    Value

    Return an object with the following properties:

    status Read only
    A string representing the current connection status, one of disconnected, connecting, associated, or connected (see MozWifiStatusChangeEvent.status for more information about each of those statuses).
    network Read only
    A network object representing the current network in use or null if the device is not connected to any network (see WifiManager.getNetworks() for more information about network objects).

    Specification

    Not part of any specification.

    See also

    Document Tags and Contributors

    Contributors to this page: Jeremie, teoli, kscarfone
    Last updated by: teoli,