Change for documentation link change
[platform/core/api/mtp.git] / src / mtp_gdbuslib.xml
1 <!--
2   org.tizen.mtp
3 -->
4
5 <node>
6         <interface name="org.tizen.mtp.manager">
7                 <method name="GetDevices">
8                         <arg type="i" name="device_count" direction="out" />
9                         <arg type="aa{sv}" name="mtp_devices" direction="out" />
10                         <arg type="i" name="result" direction="out" />
11                 </method>
12
13                 <method name="GetStorages">
14                         <arg type="i" name="mtp_device" direction="in" />
15                         <arg type="i" name="storage_count" direction="out" />
16                         <arg type="aa{sv}" name="mtp_storages" direction="out" />
17                         <arg type="i" name="result" direction="out" />
18                 </method>
19
20                 <method name="GetObjectHandles">
21                         <arg type="i" name="mtp_device" direction="in" />
22                         <arg type="i" name="mtp_storage" direction="in" />
23                         <arg type="i" name="file_type" direction="in" />
24                         <arg type="i" name="parent_object_handle" direction="in" />
25                         <arg type="i" name="object_count" direction="out" />
26                         <arg type="aa{sv}" name="object_handles" direction="out" />
27                         <arg type="i" name="result" direction="out" />
28                 </method>
29
30                 <method name="GetObject">
31                         <arg type="i" name="mtp_device" direction="in" />
32                         <arg type="i" name="object_handle" direction="in" />
33                         <arg type="s" name="dest_path" direction="in" />
34                         <arg type="i" name="result" direction="out" />
35                 </method>
36
37                 <method name="GetPartialObject">
38                         <arg type="i" name="mtp_device" direction="in" />
39                         <arg type="i" name="object_handle" direction="in" />
40                         <arg type="s" name="dest_path" direction="in" />
41                         <arg type="i" name="offset" direction="in" />
42                         <arg type="i" name="max_bytes" direction="in" />
43                         <arg type="i" name="actual_written" direction="out" />
44                         <arg type="i" name="result" direction="out" />
45                 </method>
46
47                 <method name="GetThumbnail">
48                         <arg type="i" name="mtp_device" direction="in" />
49                         <arg type="i" name="object_handle" direction="in" />
50                         <arg type="s" name="dest_path" direction="in" />
51                         <arg type="i" name="result" direction="out" />
52                 </method>
53
54                 <method name="DeleteObject">
55                         <arg type="i" name="mtp_device" direction="in" />
56                         <arg type="i" name="object_handle" direction="in" />
57                         <arg type="i" name="result" direction="out" />
58                 </method>
59
60                 <signal name="MtpEvent">
61                         <arg type="i" name="event" />
62                         <arg type="i" name="arg1" />
63                 </signal>
64         </interface>
65         <interface name="org.tizen.mtp.deviceinfo">
66                 <method name="GetManufacturerName">
67                         <arg type="i" name="mtp_device" direction="in" />
68                         <arg type="s" name="manufacturer_name" direction="out" />
69                         <arg type="i" name="result" direction="out" />
70                 </method>
71
72                 <method name="GetModelName">
73                         <arg type="i" name="mtp_device" direction="in" />
74                         <arg type="s" name="model_name" direction="out" />
75                         <arg type="i" name="result" direction="out" />
76                 </method>
77
78                 <method name="GetSerialNumber">
79                         <arg type="i" name="mtp_device" direction="in" />
80                         <arg type="s" name="serial_number" direction="out" />
81                         <arg type="i" name="result" direction="out" />
82                 </method>
83
84                 <method name="GetDeviceVersion">
85                         <arg type="i" name="mtp_device" direction="in" />
86                         <arg type="s" name="device_version" direction="out" />
87                         <arg type="i" name="result" direction="out" />
88                 </method>
89
90                 <method name="GetBusLocation">
91                         <arg type="i" name="mtp_device" direction="in" />
92                         <arg type="i" name="bus_location" direction="out" />
93                         <arg type="i" name="result" direction="out" />
94                 </method>
95
96                 <method name="GetDeviceNumber">
97                         <arg type="i" name="mtp_device" direction="in" />
98                         <arg type="i" name="device_number" direction="out" />
99                         <arg type="i" name="result" direction="out" />
100                 </method>
101
102                 <method name="GetStitchingEngineVersion">
103                         <arg type="i" name="mtp_device" direction="in" />
104                         <arg type="s" name="stitching_engine_version" direction="out" />
105                         <arg type="i" name="result" direction="out" />
106                 </method>
107         </interface>
108         <interface name="org.tizen.mtp.storageinfo">
109                 <method name="GetDescription">
110                         <arg type="i" name="mtp_device" direction="in" />
111                         <arg type="i" name="mtp_storage" direction="in" />
112                         <arg type="s" name="description" direction="out" />
113                         <arg type="i" name="result" direction="out" />
114                 </method>
115
116                 <method name="GetFreeSpace">
117                         <arg type="i" name="mtp_device" direction="in" />
118                         <arg type="i" name="mtp_storage" direction="in" />
119                         <arg type="t" name="free_space" direction="out" />
120                         <arg type="i" name="result" direction="out" />
121                 </method>
122
123                 <method name="GetMaxCapacity">
124                         <arg type="i" name="mtp_device" direction="in" />
125                         <arg type="i" name="mtp_storage" direction="in" />
126                         <arg type="t" name="max_capacity" direction="out" />
127                         <arg type="i" name="result" direction="out" />
128                 </method>
129
130                 <method name="GetStorageType">
131                         <arg type="i" name="mtp_device" direction="in" />
132                         <arg type="i" name="mtp_storage" direction="in" />
133                         <arg type="i" name="storage_type" direction="out" />
134                         <arg type="i" name="result" direction="out" />
135                 </method>
136
137                 <method name="GetVolumeIdentifier">
138                         <arg type="i" name="mtp_device" direction="in" />
139                         <arg type="i" name="mtp_storage" direction="in" />
140                         <arg type="s" name="volume_identifier" direction="out" />
141                         <arg type="i" name="result" direction="out" />
142                 </method>
143         </interface>
144         <interface name="org.tizen.mtp.objectinfo">
145                 <method name="GetProperty">
146                         <arg type="i" name="mtp_device" direction="in" />
147                         <arg type="i" name="object_handle" direction="in" />
148                         <arg type="i" name="property" direction="in" />
149                         <arg type="i" name="property_value" direction="out" />
150                         <arg type="i" name="result" direction="out" />
151                 </method>
152                 <method name="GetPropertyString">
153                         <arg type="i" name="mtp_device" direction="in" />
154                         <arg type="i" name="object_handle" direction="in" />
155                         <arg type="i" name="property" direction="in" />
156                         <arg type="s" name="property_value" direction="out" />
157                         <arg type="i" name="result" direction="out" />
158                 </method>
159         </interface>
160 </node>