From 4392fbd3d96e2eea0d91f0eb9fd059ab38255986 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 26 Nov 2007 13:41:36 +0000 Subject: Update API descriptions to match new error codes --- input/input-api.txt | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'input') 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() -- cgit