summaryrefslogtreecommitdiff
path: root/doc/service-api.txt
blob: 0ed686c7313cc3dcd52c9d1de158043aada55fe5 (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
Service hierarchy
=================

Service		org.moblin.connman
Interface	org.moblin.connman.Service
Object path	[variable prefix]/{service0,service1,...}

Methods		dict GetProperties()

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

			Possible Errors: [service].Error.InvalidArguments

Signals		PropertyChanged(string name, variant value)

			This signal indicates a changed value of the given
			property.

Properties	string Name [readonly]

			The service name (for example "Wireless" etc.)

			This name can be used for directly displaying it in
			the application. It has pure informational purpose.

		string Type [readonly]

			The service type (for example "ethernet", "wifi" etc.)

			This information should only be used to determine
			advanced properties or showing the correct icon
			to the user.