summaryrefslogtreecommitdiffstats
path: root/doc/call-volume-api.txt
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-03-22 15:07:53 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-03-22 15:17:33 -0500
commitdae0b12c7aba648cbae75fc14066db282cba3f85 (patch)
treec53e5f8e2c8c5a0074436a111363e88707a86ba6 /doc/call-volume-api.txt
parent6bb7197b1188a083f7684ecbde3244397dcb9c63 (diff)
downloadofono-dae0b12c7aba648cbae75fc14066db282cba3f85.tar.bz2
Add call-volume api
Diffstat (limited to 'doc/call-volume-api.txt')
-rw-r--r--doc/call-volume-api.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/call-volume-api.txt b/doc/call-volume-api.txt
new file mode 100644
index 00000000..969f24c7
--- /dev/null
+++ b/doc/call-volume-api.txt
@@ -0,0 +1,42 @@
+CallVolume hierarchy
+===============
+
+Service org.ofono
+Interface org.ofono.CallVolume
+Object path [variable prefix]/{modem0,modem1,...}
+
+Methods dict GetProperties()
+
+ Returns properties for the CallVolume object. See
+ the properties section for available properties.
+
+ Possible Errors: [service].Error.InvalidArguments
+
+ void SetProperty(string property, variant value)
+
+ Changes the value of the specified property. Only
+ properties that are listed as read-write are
+ changeable. On success a PropertyChanged signal
+ will be emitted.
+
+ Possible Errors: [service].Error.InvalidArguments
+ [service].Error.DoesNotExist
+
+Signals PropertyChanged(string name, variant value)
+
+ This signal indicates a changed value of the given
+ property.
+
+Properties boolean Muted [readwrite]
+
+ Boolean representing whether the microphone is muted.
+
+ byte SpeakerVolume [readwrite]
+
+ Represents the current volume of the speaker in
+ percentage points. Valid values are 0-100.
+
+ byte MicrophoneVolume [readwrite]
+
+ Represents the current volume of the microphone in
+ percentage points. Valid values are 0-100.