writeNDEF()
method of the MozNFCTag
interface is used to write NDEF data to an NFC tag.MozWakeLock.unlock()
method releases the lock on the resource. If several locks have been taken on the resource, each of them needs to be released individually.