summaryrefslogtreecommitdiffstats
path: root/doc/message-api.txt
blob: 3eb3d2b746af75812a080481fdfc9399d21ebde4 (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
Message hierarchy
===============

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

Methods		dict GetProperties()

			Returns properties for the message object. See
			the properties section for available properties.

		void Cancel()

			Cancel a message that was previously sent. Only
			messages that are waiting on queue can be cancelled and
			it's not possible to cancel messages that already had
			some parts sent.

			Possible Errors: [service].Error.AccessDenied

Signals		PropertyChanged(string name, variant value)

			This signal indicates a changed value of the given
			property.

Properties	string State

			Contains the state of the message object.  Possible
			values are:
				"pending",
				"sent",
				"failed"