mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Error handling
This commit is contained in:
parent
b851045415
commit
27ad1437a1
8 changed files with 61 additions and 76 deletions
|
@ -8,10 +8,14 @@
|
|||
interface BluetoothRemoteGATTServer {
|
||||
readonly attribute BluetoothDevice device;
|
||||
readonly attribute boolean connected;
|
||||
[Throws]
|
||||
BluetoothRemoteGATTServer connect();
|
||||
[Throws]
|
||||
void disconnect();
|
||||
BluetoothRemoteGATTService? getPrimaryService((DOMString or unsigned long) service);
|
||||
sequence<BluetoothRemoteGATTService>? getPrimaryServices(optional (DOMString or unsigned long) service);
|
||||
[Throws]
|
||||
BluetoothRemoteGATTService getPrimaryService((DOMString or unsigned long) service);
|
||||
[Throws]
|
||||
sequence<BluetoothRemoteGATTService> getPrimaryServices(optional (DOMString or unsigned long) service);
|
||||
//Promise<BluetoothRemoteGATTService> getPrimaryService(BluetoothServiceUUID service);
|
||||
//Promise<sequence<BluetoothRemoteGATTService>>getPrimaryServices(optional BluetoothServiceUUID service);
|
||||
//Promise<BluetoothRemoteGATTServer> connect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue