diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-03-21 17:51:02 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-03-21 17:51:02 +0000 |
commit | 75eb97849ccc85e25ca303c90e0fa4ccb03cad2f (patch) | |
tree | 0a24431ab2ddf85b84982717773dbd56d1280231 /input | |
parent | 15faf6e08890751da98b60980d194ed21724b50c (diff) |
input: added possible errors returned by the methods.
Diffstat (limited to 'input')
-rw-r--r-- | input/input-api.txt | 15 |
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 |