Changes

Jump to: navigation, search

B2G/Bluetooth/WebBluetooth-v2/BluetoothGattServer

30 bytes removed, 06:56, 20 November 2014
BluetoothGattServer
interface BluetoothGattServer
{
[Cached, Pure] readonly attribute sequence<[[B2G/Bluetooth/WebBluetooth-v2/BluetoothGattService#BluetoothGattService|BluetoothGattService]]> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothGattServer#services|services]];
attribute EventHandler ondeviceconnectionstatechanged;
attribute EventHandler onattributereadreq;
[NewObject, Throws] Promise<void> close();
[NewObject, Throws] Promise<void> connect(DOMString aDeviceAddraddress); [NewObject, Throws] Promise<void> disconnect(DOMString aDeviceAddraddress); [NewObject, Throws] Promise<void> addService(BluetoothGattService aServiceservice); [NewObject, Throws] Promise<void> removeService(BluetoothGattService aServiceservice);
[NewObject, Throws] Promise<void> clearServices();
[NewObject, Throws] Promise<void> notifyCharacteristicChanged(DOMString aDeviceAddraddress, DOMString aUuiduuid, int aInstanceIdinstanceId, bool aConfirmconfirm); [NewObject, Throws] Promise<void> sendResponse(DOMString aDeviceAddraddress, int aStatusstatus, int aRequestIdrequestId, ArrayBuffer aValuevalue);
};
Confirm
891
edits

Navigation menu