Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: doc/profile-api.txt

Issue 6659006: flimflam: add support for multiple profiles (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: more ers comments Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « doc/manager-api.txt ('k') | include/crypto.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Profile hierarchy 1 Profile hierarchy
2 ================= 2 =================
3 3
4 Service org.chromium.flimflam 4 Service org.chromium.flimflam
5 Interface org.chromium.flimflam.Profile 5 Interface org.chromium.flimflam.Profile
6 Object path [variable prefix]/{profile0,profile1,...} 6 Object path [variable prefix]/{profile0,profile1,...}
7 7
8 Methods dict GetProperties() 8 Methods dict GetProperties()
9 9
10 Returns properties for the profile object. See 10 Returns properties for the profile object. See
11 the properties section for available properties. 11 the properties section for available properties.
12 12
13 Possible Errors: [service].Error.InvalidArguments 13 Possible Errors: [service].Error.InvalidArguments
14 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.InvalidProperty
24
25 dict GetEntry(object path)
26
27 Returns properties for the profile entry. The
28 following read-only properties are returned:
29
30 string Name [readonly]
31 Name of this profile.
32
33 boolean AutoConnect [readonly]
34 Auto-connection setting.
35
36 string Failure [readonly]
37 Reason for last failure.
38
39 string Modified [readonly]
40 Timestamp entry was last written.
41
42 string Mode [readonly]
43 For WiFi services, the operating mode.
44
45 string Security [readonly]
46 For WiFi services, the security type.
47
48 Possible Errors: [service].Error.NotFound
49 [service].Error.InvalidArguments
50
51 dict DeleteEntry(object path)
52
53 Removes the entry from the profile. Any associated
54 service has its security credentials revoked but
55 is otherwise unaffected (i.e. it will remain connected).
56
57 Possible Errors: [service].Error.PermissionDenied
58 [service].Error.InvalidArguments
59 [service].Error.NotFound
60
15 Signals PropertyChanged(string name, variant value) 61 Signals PropertyChanged(string name, variant value)
16 62
17 This signal indicates a changed value of the given 63 This signal indicates a changed value of the given
18 property. 64 property.
19 65
20 Properties string Name [readonly] 66 Properties string Name [readonly]
21 67
22 Name of this profile. 68 Name of this profile.
23 69
24 boolean OfflineMode [readwrite] 70 boolean OfflineMode [readwrite]
25 71
26 The offline mode indicates the setting for switching 72 The offline mode indicates the setting for switching
27 all radios on or off. Changing offline mode to true 73 all radios on or off. Changing offline mode to true
28 » » » results in powering down all devices. 74 » » » results in powering down all devices. This setting
75 » » » is recorded in the default profile so it affects all
76 » » » users as well as pre-login.
29 77
30 array{object} Services [readonly] 78 array{object} Services [readonly]
31 79
32 List of service objects. 80 List of service objects.
81
82 array{object} Entries [readonly]
83
84 List of profile Entry objects. Use the GetEntry
85 method to retrieve an Entry's contents.
OLDNEW
« no previous file with comments | « doc/manager-api.txt ('k') | include/crypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698