summaryrefslogtreecommitdiff
path: root/doc/siri-api.txt
blob: ed0e5ea6de31b8000249e2b77b3dd77285547cee (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
41
Siri hierarchy [experimental]
========================

Service		org.ofono
Interface	org.ofono.Siri
Object path	[variable prefix]/{modem0,modem1,...}

Methods		dict GetProperties()

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

			Possible Errors: [service].Error.InProgress
					 [service].Error.Failed

		void SetProperty(string name, 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.InProgress
					 [service].Error.Failed

Signals		PropertyChanged(string property, variant value)

			This signal indicates a changed value of the given
			property.

Properties	boolean	Enabled [readonly]

			This property indicates whether Siri is available on
			the device.

		string EyesFreeMode [readwrite]

			This property indicates the state of Siri Eyes Free
			Mode.  The current possible values are: "enabled"
			and "disabled"