~ubuntu-branches/ubuntu/wily/bluez/wily

« back to all changes in this revision

Viewing changes to doc/input-api.txt

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2008-10-07 12:10:29 UTC
  • Revision ID: james.westby@ubuntu.com-20081007121029-4gup4fmmh2vfo5nh
Tags: upstream-4.12
ImportĀ upstreamĀ versionĀ 4.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
BlueZ D-Bus Input API description
 
2
*********************************
 
3
 
 
4
Copyright (C) 2004-2008  Marcel Holtmann <marcel@holtmann.org>
 
5
 
 
6
 
 
7
Input hierarchy
 
8
===============
 
9
 
 
10
Service         org.bluez
 
11
Interface       org.bluez.Input
 
12
Object path     [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
 
13
 
 
14
Methods         void Connect()
 
15
 
 
16
                        Connect to the input device.
 
17
 
 
18
                        Possible errors: org.bluez.Error.AlreadyConnected
 
19
                                         org.bluez.Error.ConnectionAttemptFailed
 
20
 
 
21
                void Disconnect()
 
22
 
 
23
                        Disconnect from the input device.
 
24
 
 
25
                        To abort a connection attempt in case of errors or
 
26
                        timeouts in the client it is fine to call this method.
 
27
 
 
28
                        Possible errors: org.bluez.Error.Failed
 
29
 
 
30
                bool IsConnected() {deprecated}
 
31
 
 
32
                        Returns the connection status.
 
33
 
 
34
                dict GetProperties()
 
35
 
 
36
                        Returns all properties for the interface. See the
 
37
                        properties section for available properties.
 
38
 
 
39
                        Possible Errors: org.bluez.Error.InvalidArguments
 
40
 
 
41
Signals         void Connected() {deprecated}
 
42
 
 
43
                void Disconnected() {deprecated}
 
44
 
 
45
                PropertyChanged(string name, variant value)
 
46
 
 
47
                        This signal indicates a changed value of the given
 
48
                        property.
 
49
 
 
50
Properties      boolean Connected [readonly]
 
51
 
 
52
                        Indicates if the device is connected.