Add send file implmentation
[platform/core/api/multi-device-group.git] / src / mdg_gdbus.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <!DOCTYPE node PUBLIC
4         "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
5         "http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
6
7 <node>
8         <interface name="org.tizen.mdg.enabler">
9                 <method name="AddRef">
10                         <arg type="s" name="name" direction="in"/>
11                         <arg type="i" name="result" direction="out"/>
12                 </method>
13         </interface>
14         <interface name="org.tizen.mdg.group">
15                 <!-- Method definitions -->
16                 <method name="Create">
17                         <arg type="s" name="group_name" direction="in"/>
18                         <arg type="i" name="result" direction="out"/>
19                 </method>
20                 <method name="Find">
21                         <arg type="i" name="timeout" direction="in" />
22                         <arg type="i" name="result" direction="out" />
23                 </method>
24                 <method name="Delete">
25                         <arg type="s" name="group_name" direction="in" />
26                         <arg type="i" name="result" direction="out" />
27                 </method>
28                 <method name="FindDevice">
29                         <arg type="i" name="timeout" direction="in" />
30                         <arg type="i" name="is_invited" direction="in" />
31                         <arg type="i" name="result" direction="out" />
32                 </method>
33                 <method name="InviteDevice">
34                         <arg type="s" name="group_name" direction="in"/>
35                         <arg type="a{sv}" name="device_info" direction="in"/>
36                         <arg type="s" name="pin" direction="in" />
37                         <arg type="i" name="result" direction="out"/>
38                 </method>
39                 <method name="EjectDevice">
40                         <arg type="s" name="group_name" direction="in"/>
41                         <arg type="s" name="uuid" direction="in"/>
42                         <arg type="i" name="result" direction="out" />
43                 </method>
44                 <method name="GetLocalDevice">
45                         <arg type="a{sv}" name="local_device" direction="out" />
46                 </method>
47                 <method name="ForeachDevice">
48                         <arg type="s" name="group_name" direction="in"/>
49                         <arg type="i" name="result" direction="out" />
50                         <arg type="aa{sv}" name="devices" direction="out" />
51                 </method>
52                 <method name="RegistChannel">
53                         <arg type="s" name="channel_id" direction="in"/>
54                         <arg type="i" name="result" direction="out" />
55                 </method>
56                 <method name="UnregistChannel">
57                         <arg type="s" name="channel_id" direction="in"/>
58                         <arg type="i" name="result" direction="out" />
59                 </method>
60                 <method name="SendData">
61                         <arg type="s" name="uuid" direction="in" />
62                         <arg type="s" name="addr" direction="in"/>
63                         <arg type="i" name="port" direction="in"/>
64                         <arg type="s" name="channel_id" direction="in"/>
65                         <arg type="(iay)" name="data" direction="in"/>
66                         <arg type="i" name="result" direction="out" />
67                 </method>
68                 <method name="SendFile">
69                         <arg type="s" name="uuid" direction="in" />
70                         <arg type="s" name="addr" direction="in"/>
71                         <arg type="i" name="port" direction="in"/>
72                         <arg type="s" name="file_path" direction="in"/>
73                         <arg type="i" name="result" direction="out" />
74                 </method>
75                 <method name="RequestCreateGroup">
76                         <arg type="s" name="uuid" direction="in" />
77                         <arg type="s" name="addr" direction="in"/>
78                         <arg type="i" name="port" direction="in"/>
79                         <arg type="s" name="group_name" direction="in" />
80                         <arg type="i" name="result" direction="out" />
81                 </method>
82                 <method name="RequestInvite">
83                         <arg type="s" name="uuid" direction="in" />
84                         <arg type="s" name="addr" direction="in"/>
85                         <arg type="i" name="port" direction="in"/>
86                         <arg type="s" name="group_name" direction="in" />
87                         <arg type="s" name="target_uuid" direction="in" />
88                         <arg type="s" name="pin" direction="in" />
89                         <arg type="i" name="result" direction="out" />
90                 </method>
91                 <method name="RequestEject">
92                         <arg type="s" name="uuid" direction="in" />
93                         <arg type="s" name="addr" direction="in"/>
94                         <arg type="i" name="port" direction="in"/>
95                         <arg type="s" name="group_name" direction="in" />
96                         <arg type="s" name="target_uuid" direction="in" />
97                         <arg type="i" name="result" direction="out" />
98                 </method>
99                 <method name="RequestChannelList">
100                         <arg type="s" name="uuid" direction="in" />
101                         <arg type="s" name="addr" direction="in"/>
102                         <arg type="i" name="port" direction="in"/>
103                         <arg type="i" name="result" direction="out" />
104                 </method>
105                 <!-- Signal (D-Bus) definitions -->
106                 <signal name="Event">
107                         <arg type="i" name="type" direction="out" />
108                         <arg type="i" name="result" direction="out" />
109                         <arg type="a{sv}" name="data" direction="out" />
110                 </signal>
111         </interface>
112 </node>