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

Jump to navigation Jump to search
Line 89: Line 89:


; Return
; Return
: A DOMRequest object to handle the success or error of the operation. In case of success, it means that the setPasskey operation has completed. If setPasskey is invalid for current pairing request, the onerror would be fired.
: A Promise to indicate whether the operation is resolved or rejected. If setPasskey is invalid for current pairing request, the operation would be rejected.


=== setPairingConfirmation(boolean aConfirm) ===
=== setPairingConfirmation(boolean aConfirm) ===
Line 100: Line 100:


; Return
; Return
: A DOMRequest object to handle the success or error of the operation. In case of success, it means that the setPairingConfirmation operation has completed. If setPairingConfirmation is invalid for current pairing request, the onerror would be fired.
: A Promise to indicate whether the operation is resolved or rejected. If setPairingConfirmation is invalid for current pairing request, the operation would be rejected.
Confirmed users
891

edits

Navigation menu