Changes

Jump to: navigation, search

B2G/Bluetooth/WebBluetooth-v2/BluetoothGattServer

20 bytes removed, 10:26, 12 August 2015
s/ondeviceconnectionstatechanged/onconnectionstatechanged and use BluetoothStatusChangedEvent directly
<!-- * [[B2G/Bluetooth/WebBluetooth-v2/BluetoothGattServer#onexecutewritereq|BluetoothGattServer.onexecutewritereq]] -->
=== ondeviceconnectionstatechanged onconnectionstatechanged ===
; Description
: A handler to trigger when a remote LE device has been connected or disconnected.
; Argument
[CheckPermissions="bluetooth"]
interface BluetoothDeviceConnectionStateEvent BluetoothStatusChangedEvent : Event
{
readonly attribute DOMString address;
readonly attribute boolean connectedstatus;
};
: ''address''
:: Address of the connected/disconnected remote LE device.
: ''connectedstatus''
:: Whether the remote LE device is connected (true) or disconnected (false).
120
edits

Navigation menu