Confirmed users
153
edits
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 | * Users of this API should have valid permissions 'nfc-manager' | ||
* and 'nfc-write' | |||
*/ | */ | ||
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'''(); |