Tizen 2.0 Release
[framework/connectivity/neard.git] / doc / manager-api.txt
1 Manager hierarchy
2 =================
3
4 Service         org.neard
5 Interface       org.neard.Manager
6 Object path     /
7
8 Methods         dict GetProperties()
9
10                         Returns all properties for the device. See the
11                         properties section for available properties.
12
13                         Possible Errors: org.neard.Error.DoesNotExist
14
15                 void SetProperty(string name, variant value)
16
17                         Changes the value of the specified property. Only
18                         properties that are listed a read-write are changeable.
19                         On success this will emit a PropertyChanged signal.
20
21                         Possible Errors: org.neard.Error.DoesNotExist
22                                          org.neard.Error.InvalidArguments
23
24                 void RegisterHandoverAgent(object path)
25
26                         Register new handover agent.
27
28                         Possible Errors: org.neard.Error.InvalidArguments
29
30                 void UnregisterHandoverAgent(object path)
31
32                         Unregister an existing handover agent.
33
34                         Possible Errors: org.neard.Error.InvalidArguments
35
36                 void RegisterNDEFAgent(object path, string type)
37
38                         Register new NDEF agent.
39
40                         When a record macthing the registered type is found,
41                         the agent will get the whole NDEF as a raw byte stream.
42
43                         Possible Errors: org.neard.Error.InvalidArguments
44
45                 void UnregisterNDEFAgent(object path, string type)
46
47                         Unregister an existing NDEF agent.
48
49                         Possible Errors: org.neard.Error.InvalidArguments
50  
51
52 Signals         PropertyChanged(string name, variant value)
53
54                         This signal indicates a changed value of the given
55                         property.
56
57                 AdapterAdded(object adapter)
58
59                         Parameter is the object path of added adapter.
60
61                 AdapterRemoved(object adapter)
62
63                         Parameter is the object path of removed adapter.
64
65 Properties      array{object} Adapters [readonly]
66
67                         List of adapter object paths.