Results 1 - 20 of 24

MozNFC

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

MozNFC.getNFCPeer()

The getNFCPeer() method of the MozNFC interface returns a Peer to Peer DOM object (MozNFCPeer) that can be used to transfer data to another NFC-enabled device.
API Firefox OS Method MozNFC NFC Reference

MozNFC.getNFCTag()

The getNFCTag() method of the MozNFC interface returns an NDEF tag interface (MozNFCTag object) used to interact with NFC Tags.
API Firefox OS Method MozNFC NFC Reference

Navigator.mozNfc

The mozNfc property returns a MozNFC object that can be used to access Firefox OS's NFC functionality: Near Field Communication (NFC) is a short range radio technology used to exchange data and tags between mobile devices by tapping them together or moving them close to each other.
API Device API Firefox OS NFC API Property Reference Web NFC

MozNDEFRecord.id

The id property of the MozNDEFRecord interface is application dependent (an appropriate id can be used, depending on functionality), but generally will return an NDEF Record identifier. 
API Firefox OS id MozNDEFRecord NDEFRecord NFC Property Reference Référence

MozNDEFRecord.payload

The payload property of the MozNDEFRecord interface is application dependent (for example, a contacts application could contain URLs, mime-types, postal address, etc., to emulate vCards).
API Firefox OS MozNDEFRecord NDEFRecord NFC payload Property Reference Référence

MozNDEFRecord.tnf

The tnf property of the MozNDEFRecord interface contains the Type Name Format (3-bit field) of the record. This field is required.
API Firefox OS MozNDEFRecord NDEFRecord NFC Property Reference Référence tnf

MozNDEFRecord.type

The type property of the MozNDEFRecord interface ... fill in description of what it does
API Firefox OS MozNDEFRecord NDEFRecord NFC Property Reference Type

MozNFC.onpeerlost

The onpeerlost event handler of the MozNFC interface handles the peerlost event, which is fired when the MozNFCPeer object received in MozNFC.onpeerready  is no longer available or not in proximinty (e.g. the peer device moves out of range.).
API Firefox OS MozNFC NFC onpeerlost Property Reference

MozNFC.onpeerready

The onpeerready event handler of the MozNFC interface handles the peerready event, which fires when a suitable peer (an NFC-enabled device) comes into range of the device your NFC application is running on.
API Firefox OS MozNFC NFC onpeerready Property Reference

MozNFCPeer.sendNDEF()

A sequence of <MozNDEFRecord> records to send.
API Firefox OS Method MozNFCPeer NFC NFCPeer Reference sendNDEF

MozNFCTag.close()

The close() method of the MozNFCTag interface closes a current NFC Tag session.
API close Firefox OS Method MozNFCTag NFC NFCTag Reference

MozNFCTag.connect()

The connect() method of the MozNFCTag interface accepts a technology type to use for subsequent operations.
API connect Firefox OS Method MozNFCTag NFC NFCTag Reference

MozNFCTag.getDetailsNDEF()

The getDetailsNDEF() method of the MozNFCTag interface retrieves basic metadata describing the NDEF tag.
API Firefox OS Method MozNFCTag NFC NFCTag Reference