diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-11-26 13:41:36 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-11-26 13:41:36 +0000 |
commit | 4392fbd3d96e2eea0d91f0eb9fd059ab38255986 (patch) | |
tree | 6b7526e3961fd0934604446f8005a050b4dbc9cb /input | |
parent | 05ba90324ddfd1de724c39f2f9f28ec10930996f (diff) |
Update API descriptions to match new error codes
Diffstat (limited to 'input')
-rw-r--r-- | input/input-api.txt | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/input/input-api.txt b/input/input-api.txt index 1d9fec1f..8eb13126 100644 --- a/input/input-api.txt +++ b/input/input-api.txt @@ -21,10 +21,10 @@ 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 + Possible errors: org.bluez.Error.AlreadyExists + org.bluez.Error.NotSupported + org.bluez.Error.ConnectionAttemptFailed + org.bluez.Error.Failed string CreateSecureDevice(string address) @@ -34,18 +34,17 @@ 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.AuthenticationFailed - org.bluez.input.Failed + Possible errors: org.bluez.Error.AlreadyExists + org.bluez.Error.NotSupported + org.bluez.Error.ConnectionAttemptFailed + org.bluez.Error.Failed void RemoveDevice(string path) Remove the input device object for a given path. - Possible errors:org.bluez.input.DoesNotExist - org.bluez.input.Failed + Possible errors:org.bluez.Error.DoesNotExist + org.bluez.Error.Failed Signals void DeviceCreated(string path) @@ -90,14 +89,14 @@ Methods string GetAdapter() Connect to the input device. - Possible errors: org.bluez.input.AlreadyConnected - org.bluez.input.ConnectionAttemptFailed + Possible errors: org.bluez.Error.AlreadyConnected + org.bluez.Error.ConnectionAttemptFailed void Disconnect() Disconnect from the input device. - Possible errors: org.bluez.input.Failed + Possible errors: org.bluez.Error.Failed Signals void Connected() |