Add property for global connection policy.
[connman] / doc / manager-api.txt
1 Manager hierarchy
2 =================
3
4 Service         org.moblin.connman
5 Interface       org.moblin.connman.Manager
6 Object path     /
7
8 Methods         dict GetProperties()
9
10                         Returns all global system properties. See the
11                         properties section for available properties.
12
13                         Possible Errors: [service].Error.InvalidArguments
14
15                 void SetProperty(string name, variant value)
16
17                         Changes the value of the specified property. Only
18                         properties that are listed as read-write are
19                         changeable. On success a PropertyChanged signal
20                         will be emitted.
21
22                         Possible Errors: [service].Error.InvalidArguments
23                                          [service].Error.DoesNotExist
24
25                 void RegisterAgent(object path)
26
27                         Register new agent for handling user requests.
28
29                         Possible Errors: [service].Error.InvalidArguments
30
31                 void UnregisterAgent(object path)
32
33                         Unregister an existing agent.
34
35                         Possible Errors: [service].Error.InvalidArguments
36
37 Signals         PropertyChanged(string name, variant value)
38
39                         This signal indicates a changed value of the given
40                         property.
41
42 Properties      string State [readonly]
43
44                         The global connection state of a system. Possible
45                         values are "online" if at least one connection exists
46                         and "offline" if no device is connected.
47
48                 string Policy [readwrite]
49
50                         The global connection policy of a system. This
51                         allows to configure how connections are established
52                         and also when they are taken down again.
53
54                         Possible values are "single", "multiple" and "ask".
55
56                         For the single policy, the priority setting of the
57                         device defines which becomes the default connection
58                         when multiple are available.
59
60                 boolean FlightMode [readwrite]
61
62                         The flight mode indicates the global setting for
63                         switching all radios on or off. Changing flight mode
64                         to true results in powering down all devices. When
65                         leaving flight mode the individual policy of each
66                         device decides to switch the radio back on or not.
67
68                         During flight mode, it is still possible to switch
69                         certain technologies manually back on. For example
70                         the limited usage of WiFi or Bluetooth devices might
71                         be allowed in some situations.
72
73                 array{object} Profiles [readonly]
74
75                         List of profile object paths.
76
77                 array{object} Devices [readonly]
78
79                         List of device object paths.
80
81                 array{object} Connections [readonly]
82
83                         List of active connection object paths.