mozilla
Your Search Results

    MozNFC

    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.

    MozNFC is the top level API for operating in NFC Reader/Writer mode, NFC P2P mode and NFC Card Emulation mode.

    Note: This interface is accessed via the Navigator.mozNfc property.

    Event Handlers

    MozNFC.onpeerfound
    The onpeerfound event callback function is called when a NFC device is detected. Available after FirefoxOS v2.2.
    MozNFC.onpeerlost
    The onpeerlost event callback function is called when the peer object detected in onpeerfound is no longer available to the application. (for example when the peer device moves out of range)
    MozNFC.ontagfound
    The ontagfound event callback function is called when a NFC Tag is detected. Available after FirefoxOS v2.2.
    MozNFC.ontaglost
    The ontaglost event callback function is called when the tag object detected in ontagfound is no longer available to the application. (for example when the tag moves out of range) Available after FirefoxOS v2.2.

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
    Basic support

    Not supported

    Not supported Not supported Not supported Not supported
    Feature Android Firefox Mobile (Gecko) Firefox OS (Gecko) IE Phone Opera Mobile Safari Mobile
    Basic support Not supported Not supported 2.0 moz Not supported Not supported Not supported

    Specifications

    See also

    Document Tags and Contributors

    Contributors to this page: psiddh, teoli, allstars.chh, lgarner, chrisdavidmills
    Last updated by: teoli,