Confirmed users
185
edits
(→Properties: Properties of BluetoothServerSocket) |
(→Event Handlers: Event Handlers of BluetoothServerSocket) |
||
| Line 44: | Line 44: | ||
== Event Handlers == | == Event Handlers == | ||
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothServerSocket#onclose|BluetoothServerSocket.onclose]] | |||
=== onclose === | |||
; Description | |||
: Event raised when a connection has been established for a given service UUID. | |||
; Argument | |||
[CheckPermissions="bluetooth"] | |||
interface BtSocketClostEvent : Event | |||
{ | |||
readonly attribute DOMString reason; | |||
}; | |||
: ''reason'' | |||
:: A string indicating the reason the server closed the | |||
== Methods == | == Methods == | ||