summaryrefslogtreecommitdiffstats
path: root/doc/handsfree-api.txt
diff options
context:
space:
mode:
authorMikel Astiz <mikel.astiz@bmw-carit.de>2011-10-12 14:35:25 +0200
committerDenis Kenzior <denkenz@gmail.com>2011-10-13 12:28:13 -0500
commite9cee29cd4d32db34db2e55df53f6b98b4fc9b70 (patch)
treed8fec971dccdf2f3f21d6fd0593ffefbdb319767 /doc/handsfree-api.txt
parenteb361d874c03c5f2eee9d32843ca5efa08cf58df (diff)
downloadofono-e9cee29cd4d32db34db2e55df53f6b98b4fc9b70.tar.bz2
doc: Add initial Handsfree API documentation
These basic features have already been implemented.
Diffstat (limited to 'doc/handsfree-api.txt')
-rw-r--r--doc/handsfree-api.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/handsfree-api.txt b/doc/handsfree-api.txt
new file mode 100644
index 00000000..4b2b156b
--- /dev/null
+++ b/doc/handsfree-api.txt
@@ -0,0 +1,30 @@
+Handsfree hierarchy
+===================
+
+Service org.ofono
+Interface org.ofono.Handsfree
+Object path [variable prefix]/{modem0,modem1,...}
+
+Methods dict GetProperties()
+
+ Returns properties for the Handsfree Interface. See the
+ properties section for available properties.
+
+ void SetProperty(string property, variant value)
+
+ Changes the value of the specified property. Only
+ properties that are listed as readwrite are
+ changeable. On success a PropertyChanged signal
+ will be emitted.
+
+ Possible Errors: [service].Error.InProgress
+ [service].Error.InvalidArguments
+
+Signals PropertyChanged(string property, variant value)
+
+ Signal is emitted whenever a property has changed.
+ The new value is passed as the signal argument.
+
+Properties boolean InbandRinging [readonly]
+
+ Boolean representing whether inband ringing is enabled.