2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef __TIZEN_NETWORK_MTP_DOC_H__
18 #define __TIZEN_NETWORK_MTP_DOC_H__
21 * @defgroup CAPI_NETWORK_MTP_MODULE MTP
22 * @brief The MTP API provides functions for support PTP(Picture Transfer Protocol) subset of MTP(Media Transfer Protocol).
23 * @ingroup CAPI_NETWORK_FRAMEWORK
25 * @section CAPI_NETWORK_MTP_MODULE_HEADER Required Header
27 * @section CAPI_NETWORK_MTP_MODULE_OVERVIEW Overview
31 * <th> Description </th>
34 * <td> @ref CAPI_NETWORK_MTP_MANAGER_MODULE</td>
35 * <td> Provide functions to establish connection to access MTP responder device, and to Get/Delete files</td>
38 * <td> @ref CAPI_NETWORK_MTP_DEVICEINFO_MODULE</td>
39 * <td> Provide functions to gets the device information of MTP responder device</td>
42 * <td> @ref CAPI_NETWORK_MTP_STORAGEINFO_MODULE</td>
43 * <td> Provide functions to gets the storage information of MTP responder storage</td>
46 * <td> @ref CAPI_NETWORK_MTP_OBJECTINFO_MODULE</td>
47 * <td> Provide functions to gets the object information of certain file in MTP responder</td>
51 * MTP is consist of three components :
53 * - Meaning that the device supports MTP.
54 * - Having mtp-responder role.
55 * - Having one or more MTP storages.
58 * - Meaning that the storage in the mtp device.
59 * - Having zero or more MTP objects.
62 * - MTP object meaning is the actual file.
63 * - Each file in the device has a unique handle called "Object Handle".
64 * This is not a unique handle each storage.
65 * - Mtp object is to have the parent object, so it can indicate a file hierarchy.
66 * If parent object is 0, then it means object is in root of storage.
70 * @defgroup CAPI_NETWORK_MTP_MANAGER_MODULE MTP Manager
71 * @brief The MTP Manager API provides functions for establish connection to access MTP responder device, and to Get/Delete files.
72 * @ingroup CAPI_NETWORK_MTP_MODULE
74 * @section CAPI_NETWORK_MTP_MANAGER_MODULE_HEADER Required Header
76 * @section CAPI_NETWORK_MTP_MANAGER_MODULE_OVERVIEW Overview
77 * The MTP manager api provides following functions :\n
78 * - Create / destroy connection to access MTP responder device\n
80 * - Get Storage list\n
81 * - Get Object handles\n
86 * @section CAPI_NETWORK_MTP_MANAGER_MODULE_FEATURE Related Features
87 * This API is related with the following features:\n
88 * - http://tizen.org/feature/network.mtp\n
90 * It is recommended to design feature related codes in your application for reliability.\n
92 * You can check if a device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE, thereby controlling the procedure of your application.\n
94 * To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.\n
96 * More details on featuring your application can be found from <a href="https://developer.tizen.org/development/tools/native-tools/manifest-text-editor#feature"><b>Feature List</b>.</a>
101 * @defgroup CAPI_NETWORK_MTP_DEVICEINFO_MODULE MTP Device Information
102 * @brief The MTP Device Information API provides functions for gets the device information of MTP responder device.
103 * @ingroup CAPI_NETWORK_MTP_MODULE
105 * @section CAPI_NETWORK_MTP_DEVICEINFO_MODULE_HEADER Required Header
107 * @section CAPI_NETWORK_MTP_DEVICEINFO_MODULE_OVERVIEW Overview
108 * The MTP Device Information api provides following functions :\n
109 * - Get device manufacturer name\n
110 * - Get device model name\n
111 * - Get device serial number\n
112 * - Get device version\n
114 * @section CAPI_NETWORK_MTP_DEVICEINFO_MODULE_FEATURE Related Features
115 * This API is related with the following features:\n
116 * - http://tizen.org/feature/network.mtp\n
118 * It is recommended to design feature related codes in your application for reliability.\n
120 * You can check if a device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE, thereby controlling the procedure of your application.\n
122 * To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.\n
124 * More details on featuring your application can be found from <a href="https://developer.tizen.org/development/tools/native-tools/manifest-text-editor#feature"><b>Feature List</b>.</a>
130 * @defgroup CAPI_NETWORK_MTP_STORAGEINFO_MODULE MTP Storage Information
131 * @brief The MTP Storage Information API provides functions for gets the storage information of MTP responder storage.
132 * @ingroup CAPI_NETWORK_MTP_MODULE
134 * @section CAPI_NETWORK_MTP_STORAGEINFO_MODULE_HEADER Required Header
136 * @section CAPI_NETWORK_MTP_STORAGEINFO_MODULE_OVERVIEW Overview
137 * The MTP Storage Information api provides following functions :\n
138 * - Get storage free space\n
139 * - Get storage description\n
140 * - Get storage type\n
141 * - and, more storage information\n
143 * @section CAPI_NETWORK_MTP_STORAGEINFO_MODULE_FEATURE Related Features
144 * This API is related with the following features:\n
145 * - http://tizen.org/feature/network.mtp\n
147 * It is recommended to design feature related codes in your application for reliability.\n
149 * You can check if a device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE, thereby controlling the procedure of your application.\n
151 * To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.\n
153 * More details on featuring your application can be found from <a href="https://developer.tizen.org/development/tools/native-tools/manifest-text-editor#feature"><b>Feature List</b>.</a>
158 * @defgroup CAPI_NETWORK_MTP_OBJECTINFO_MODULE MTP Object Information
159 * @brief The MTP Manager API provides functions for gets the object information of certain file in MTP responder.
160 * @ingroup CAPI_NETWORK_MTP_MODULE
162 * @section CAPI_NETWORK_MTP_OBJECTINFO_MODULE_HEADER Required Header
164 * @section CAPI_NETWORK_MTP_OBJECTINFO_MODULE_OVERVIEW Overview
165 * The MTP Object Information api provides following functions :\n
166 * - Get object format\n
167 * - Get object name\n
168 * - Get object size\n
169 * - and, more object information\n
171 * @section CAPI_NETWORK_MTP_OBJECTINFO_MODULE_FEATURE Related Features
172 * This API is related with the following features:\n
173 * - http://tizen.org/feature/network.mtp\n
175 * It is recommended to design feature related codes in your application for reliability.\n
177 * You can check if a device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE, thereby controlling the procedure of your application.\n
179 * To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.\n
181 * More details on featuring your application can be found from <a href="https://developer.tizen.org/development/tools/native-tools/manifest-text-editor#feature"><b>Feature List</b>.</a>