B2G/Bluetooth/WebBluetooth-v2/BluetoothPairingEvent: Difference between revisions

Jump to navigation Jump to search
Line 40: Line 40:
=== setPasskey(DOMString aPasskey) ===
=== setPasskey(DOMString aPasskey) ===
; Description
; Description
: The method replies the requested passkey when the device's adapter is pairing with a remote device.  
: The method replies passkey or PIN code to the remote device when the bluetooth local adapter is pairing with it.  


; Parameter
; Parameter
: ''aPasskey''
: ''aPasskey''
:: A DOMString representing the passkey code set by user.
:: A DOMString representing the passkey or PIN code set by user.


; Return
; Return
Confirmed users
891

edits

Navigation menu