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

Jump to navigation Jump to search
→‎Methods: Methods of BluetoothServerSocket
(→‎Event Handlers: Event Handlers of BluetoothServerSocket)
(→‎Methods: Methods of BluetoothServerSocket)
Line 61: Line 61:


== Methods ==
== Methods ==
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothServerSocket#listen|BluetoothServerSocket.listen()]]


=== listen() ===
; Description
: Listen for a socket connection using the RFCOMM protocol.
; Return
: A Promise to indicate whether the operation is resolved or rejected. Once the Promise is resolved, it returns a BluetoothSocket object which is connected to a remote device.


== See Also ==
== See Also ==
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothSocket|BluetoothSocket]]
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothSocket|BluetoothSocket]]
Confirmed users
185

edits

Navigation menu