WebAPI/WebNFC: Difference between revisions

Jump to navigation Jump to search
Line 72: Line 72:
     /* Get the NFCPeer for Peer to Peer interactions */
     /* Get the NFCPeer for Peer to Peer interactions */
     DOMRequest '''getNFCPeer'''(DOMString sessionToken);
     DOMRequest '''getNFCPeer'''(DOMString sessionToken);
 
     /**
     /**
     * API to update chrome about the top-most (visible)
     * API to update chrome about the top-most (visible)
Line 77: Line 78:
     * handling peer notifications.
     * handling peer notifications.
     *
     *
     * Users of this API should have valid permission 'nfc-manager'.
     * Users of this API should have valid permissions 'nfc-manager'
    * and 'nfc-write'
     */
     */
     void setAppManifestUrl(DOMString manifestUrl);
     DOMRequest '''checkP2PRegistration'''(DOMString manifestUrl);
     /* Sets a callback to notifiy when NDEF Push message communication is available for use. */   
     /* Sets a callback to notifiy when NDEF Push message communication is available for use. */   
     attribute EventHandler '''onpeerready'''();
     attribute EventHandler '''onpeerready'''();
Confirmed users
153

edits

Navigation menu