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

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: rebase Created 9 years, 9 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
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 it's security credentials revoked but
Eric Shienbrood 2011/03/23 21:14:21 it's => its
Sam Leffler 2011/03/29 18:25:35 Done
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.
Eric Shienbrood 2011/03/23 21:14:21 It's probably worth saying that changes to this ar
Sam Leffler 2011/03/29 18:25:35 Done
29 75
30 array{object} Services [readonly] 76 array{object} Services [readonly]
31 77
32 List of service objects. 78 List of service objects.
79
80 array{object} Entries [readonly]
81
82 List of profile Entry objects. Use the GetEntry
83 method to retrieve an Entry's contents.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698