summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--input/input-api.txt15
1 files changed, 12 insertions, 3 deletions
diff --git a/input/input-api.txt b/input/input-api.txt
index 2658f3a6..8d38fbb0 100644
--- a/input/input-api.txt
+++ b/input/input-api.txt
@@ -24,10 +24,18 @@ Methods array{string} ListDevices()
On success it will return the path of the
newly created device object.
+ Possible errors:org.bluez.input.AlreadyExists
+ org.bluez.input.NotSupported
+ org.bluez.input.ConnectionAttemptFailed
+ org.bluez.input.Failed
+
void RemoveDevice(string path)
Remove the input device object for a given path.
+ Possible errors:org.bluez.input.DoesNotExist
+ org.bluez.input.Failed
+
Signals void DeviceCreated(string path)
void DeviceRemoved(string path)
@@ -66,10 +74,11 @@ Methods string GetAddress()
Connect to the input device.
+ Possible errors:org.bluez.input.AlreadyConnected
+ org.bluez.input.ConnectionAttemptFailed
+
void Disconnect()
Disconnect from the input device.
- void SetTimeout(uint32 timeout)
-
- Set the idle timeout.
+ Possible errors:org.bluez.input.Failed