summaryrefslogtreecommitdiff
path: root/doc/manager-api.txt
blob: 7d13f014c3911d8f9def0bcb9a06169a2258716c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Manager hierarchy
=================

Service		org.neard
Interface	org.neard.Manager
Object path	/

Methods		dict GetProperties()

			Returns all properties for the device. See the
			properties section for available properties.

			Possible Errors: org.neard.Error.DoesNotExist

		void SetProperty(string name, variant value)

			Changes the value of the specified property. Only
			properties that are listed a read-write are changeable.
			On success this will emit a PropertyChanged signal.

			Possible Errors: org.neard.Error.DoesNotExist
					 org.neard.Error.InvalidArguments
 

Signals		PropertyChanged(string name, variant value)

			This signal indicates a changed value of the given
			property.

		AdapterAdded(object adapter)

			Parameter is the object path of added adapter.

		AdapterRemoved(object adapter)

			Parameter is the object path of removed adapter.

Properties 	array{object} Adapters [readonly]

			List of adapter object paths.