Tizen 2.0 Release
[framework/osp/media.git] / inc / FMediaCapabilityTypes.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 /**
19  * @file                        FMediaCapabilityTypes.h
20  * @brief                       This is the header file for the common data of the MediaCapability class.
21  *
22  * This header file contains the declarations of common data of the MediaCapability class.
23  */
24
25 #ifndef _FMEDIA_CAPABILITY_TYPES_H_
26 #define _FMEDIA_CAPABILITY_TYPES_H_
27
28 #include <FBase.h>
29
30 namespace Tizen { namespace Media
31 {
32
33 /**
34 * The property key to check the list of the supported sample rates of AudioIn.
35 *
36 * @since                2.0
37 */
38 _OSP_EXPORT_ extern const wchar_t* const AUDIOIN_SAMPLE_RATE;
39
40 /**
41 * The property key to check the list of the supported sample types of AudioIn.
42 *
43 * @since                2.0
44 */
45 _OSP_EXPORT_ extern const wchar_t* const AUDIOIN_SAMPLE_TYPE;
46
47 /**
48 * The property key to check the maximum instance count that AudioOut can construct.
49 *
50 * @since                2.0
51 */
52 _OSP_EXPORT_ extern const wchar_t* const AUDIOOUT_COUNT_MAX;
53
54 /**
55 * The property key to check the list of the supported sample rates of AudioOut.
56 *
57 * @since                2.0
58 */
59 _OSP_EXPORT_ extern const wchar_t* const AUDIOOUT_SAMPLE_RATE;
60
61 /**
62 * The property key to check the list of the supported sample types of AudioOut.
63 *
64 * @since                2.0
65 */
66 _OSP_EXPORT_ extern const wchar_t* const AUDIOOUT_SAMPLE_TYPE;
67
68 /**
69 * The property key to check the list of audio formats that the audio recorder supports.
70 *
71 * @since                2.0
72 */
73 _OSP_EXPORT_ extern const wchar_t* const AUDIORECORDER_FORMAT;
74
75 /**
76 * The property key to check the count of cameras that are supported.
77 *
78 * @since                2.0
79 */
80 _OSP_EXPORT_ extern const wchar_t* const CAMERA_COUNT;
81
82 /**
83 * The property key to check the list of capture formats that the primary camera supports.
84 *
85 * @since                2.0
86 */
87 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_CAPTURE_FORMAT;
88
89 /**
90 * The property key to check the list of capture resolutions that the primary camera supports.
91 *
92 * @since                2.0
93 */
94 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_CAPTURE_RESOLUTION;
95
96 /**
97 * The property key to check the physical direction of the primary camera.
98 *
99 * @since                2.0
100 */
101 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_DIRECTION;
102
103 /**
104 * The property key to check the list of effects that the primary camera supports.
105 *
106 * @since                2.0
107 */
108 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_EFFECT;
109
110 /**
111 * The property key to check the list of ISO levels that the primary camera supports.
112 *
113 * @since                2.0
114 */
115 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_ISO_LEVEL;
116
117 /**
118 * The property key to check the list of preview formats that the primary camera supports.
119 *
120 * @since                2.0
121 */
122 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_PREVIEW_FORMAT;
123
124 /**
125 * The property key to check the list of preview frame rates that the primary camera supports.
126 *
127 * @since                2.0
128 */
129 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_PREVIEW_FRAMERATE;
130
131 /**
132 * The property key to check the list of preview resolutions that the primary camera supports.
133 *
134 * @since                2.0
135 */
136 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_PREVIEW_RESOLUTION;
137
138 /**
139 * The property key to check the list of recording resolutions that the primary camera supports.
140 *
141 * @since                2.0
142 */
143 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_RECORDING_RESOLUTION;
144
145 /**
146 * The property key to check the physical rotation of the primary camera in the portrait mode.
147 *
148 * @since                2.0
149 */
150 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_ROTATION;
151
152 /**
153 * The property key to check the ability of the primary camera to support brightness APIs.
154 *
155 * @since                2.0
156 */
157 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_BRIGHTNESS;
158
159 /**
160 * The property key to check the ability of the primary camera to support capture APIs.
161 *
162 * @since                2.0
163 */
164 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_CAPTURE;
165
166 /**
167 * The property key to check the ability of the primary camera to support contrast APIs.
168 *
169 * @since                2.0
170 */
171 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_CONTRAST;
172
173 /**
174 * The property key to check the ability of the primary camera to support exposure APIs.
175 *
176 * @since                2.0
177 */
178 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_EXPOSURE;
179
180 /**
181 * The property key to check the ability of the primary camera to support flash APIs.
182 *
183 * @since                2.0
184 */
185 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_FLASH;
186
187 /**
188 * The property key to check the ability of the primary camera to support focus APIs.
189 *
190 * @since                2.0
191 */
192 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_FOCUS;
193
194 /**
195 * The property key to check the ability of the primary camera to support preview APIs.
196 *
197 * @since                2.0
198 */
199 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_PREVIEW;
200
201 /**
202 * The property key to check the ability of the primary camera to be used with the video recorder.
203 *
204 * @since                2.0
205 */
206 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_RECORDING;
207
208 /**
209 * The property key to check the ability of the primary camera to support zoom APIs.
210 *
211 * @since                2.0
212 */
213 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_ZOOM;
214
215 /**
216 * The property key to check the ability of the primary camera to support zero-shutter-lag feature.
217 *
218 * @since                2.0
219 */
220 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_ZERO_SHUTTER_LAG;
221
222 /**
223 * The property key to check the list of white balances that the primary camera supports.
224 *
225 * @since                2.0
226 */
227 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_WHITE_BALANCE;
228
229 /**
230 * The property key to check the list of zoom types that the primary camera supports.
231 *
232 * @since                2.0
233 */
234 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_ZOOM_TYPE;
235
236 /**
237 * The property key to check the list of flip types that the primary camera supports.
238 *
239 * @since                2.0
240 */
241 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_FLIP;
242
243 /**
244 * The property key to check the list of preview rotations that the primary camera supports.
245 *
246 * @since                2.0
247 */
248 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_PREVIEW_ROTATION;
249
250 /**
251 * The property key to check the list of focus mode that the primary camera supports.
252 *
253 * @since                2.0
254 */
255 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_FOCUS_MODE;
256
257 /**
258 * The property key to check the list of flash mode that the primary camera supports.
259 *
260 * @since                2.0
261 */
262 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_FLASH_MODE;
263
264 /**
265 * The property key to check the default preview format of the primary camera.
266 *
267 * @since                2.0
268 */
269 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_DEFAULT_PREVIEW_FORMAT;
270
271 /**
272 * The property key to check the list of metering mode that the primary camera supports.
273 *
274 * @since                2.0
275 */
276 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_METERING_MODE;
277
278 /**
279 * The property key to check the list of capture formats that the secondary camera supports.
280 *
281 * @since                2.0
282 */
283 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_CAPTURE_FORMAT;
284
285 /**
286 * The property key to check the list of capture resolutions that the secondary camera supports.
287 *
288 * @since                2.0
289 */
290 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_CAPTURE_RESOLUTION;
291
292 /**
293 * The property key to check the physical direction of the secondary camera.
294 *
295 * @since                2.0
296 */
297 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_DIRECTION;
298
299 /**
300 * The property key to check the list of effects that the secondary camera supports.
301 *
302 * @since                2.0
303 */
304 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_EFFECT;
305
306 /**
307 * The property key to check the list of ISO levels that the secondary camera supports.
308 *
309 * @since                2.0
310 */
311 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_ISO_LEVEL;
312
313 /**
314 * The property key to check the list of preview formats that the secondary camera supports.
315 *
316 * @since                2.0
317 */
318 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_PREVIEW_FORMAT;
319
320 /**
321 * The property key to check the list of preview frame rates that the secondary camera supports.
322 *
323 * @since                2.0
324 */
325 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_PREVIEW_FRAMERATE;
326
327 /**
328 * The property key to check the list of preview resolutions that the secondary camera supports.
329 *
330 * @since                2.0
331 */
332 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_PREVIEW_RESOLUTION;
333
334 /**
335 * The property key to check the list of recording resolutions that the secondary camera supports.
336 *
337 * @since                2.0
338 */
339 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_RECORDING_RESOLUTION;
340
341 /**
342 * The property key to check the physical rotation of the secondary camera in the portrait mode.
343 *
344 * @since                2.0
345 */
346 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_ROTATION;
347
348 /**
349 * The property key to check the ability of the secondary camera to support brightness APIs.
350 *
351 * @since                2.0
352 */
353 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_BRIGHTNESS;
354
355 /**
356 * The property key to check the ability of the secondary camera to support capture APIs.
357 *
358 * @since                2.0
359 */
360 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_CAPTURE;
361
362 /**
363 * The property key to check the ability of the secondary camera to support contrast APIs.
364 *
365 * @since                2.0
366 */
367 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_CONTRAST;
368
369 /**
370 * The property key to check the ability of the secondary camera to support exposure APIs.
371 *
372 * @since                2.0
373 */
374 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_EXPOSURE;
375
376 /**
377 * The property key to check the ability of the secondary camera to support flash APIs.
378 *
379 * @since                2.0
380 */
381 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_FLASH;
382
383 /**
384 * The property key to check the ability of the secondary camera to support focus APIs.
385 *
386 * @since                2.0
387 */
388 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_FOCUS;
389
390 /**
391 * The property key to check the ability of the secondary camera to support preview APIs.
392 *
393 * @since                2.0
394 */
395 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_PREVIEW;
396
397 /**
398 * The property key to check the ability of the secondary camera to be used with the video recorder.
399 *
400 * @since                2.0
401 */
402 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_RECORDING;
403
404 /**
405 * The property key to check the ability of the secondary camera to support zoom APIs.
406 *
407 * @since                2.0
408 */
409 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_ZOOM;
410
411 /**
412 * The property key to check the ability of the secondary camera to support zero-shutter-lag feature.
413 *
414 * @since                2.0
415 */
416 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_ZERO_SHUTTER_LAG;
417
418 /**
419 * The property key to check the list of white balances that the secondary camera supports.
420 *
421 * @since                2.0
422 */
423 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_WHITE_BALANCE;
424
425 /**
426 * The property key to check the list of zoom types that the secondary camera supports.
427 *
428 * @since                2.0
429 */
430 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_ZOOM_TYPE;
431
432 /**
433 * The property key to check the list of flip types that the secondary camera supports.
434 *
435 * @since                2.0
436 */
437 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_FLIP;
438
439 /**
440 * The property key to check the list of preview rotations that the secondary camera supports.
441 *
442 * @since                2.0
443 */
444 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_PREVIEW_ROTATION;
445
446 /**
447 * The property key to check the list of focus mode that the secondary camera supports.
448 *
449 * @since                2.0
450 */
451 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_FOCUS_MODE;
452
453 /**
454 * The property key to check the list of flash mode that the secondary camera supports.
455 *
456 * @since                2.0
457 */
458 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_FLASH_MODE;
459
460 /**
461 * The property key to check the default preview format of the secondary camera.
462 *
463 * @since                2.0
464 */
465 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_DEFAULT_PREVIEW_FORMAT;
466
467 /**
468 * The property key to check the list of metering mode that the secondary camera supports.
469 *
470 * @since                2.0
471 */
472 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_METERING_MODE;
473
474 /**
475 * The property key to check the list of audio codecs that the player supports.
476 *
477 * @since                2.0
478 */
479 _OSP_EXPORT_ extern const wchar_t* const PLAYER_AUDIO_CODEC;
480
481 /**
482 * The property key to check the maximum count of instances that the player can construct.
483 *
484 * @since                2.0
485 */
486 _OSP_EXPORT_ extern const wchar_t* const PLAYER_COUNT_MAX;
487
488 /**
489 * The property key to check the list of streaming protocols that the player supports.
490 *
491 * @since                2.0
492 */
493 _OSP_EXPORT_ extern const wchar_t* const PLAYER_PROTOCOL;
494
495 /**
496 * The property key to check the list of video codecs that the player supports.
497 *
498 * @since                2.0
499 */
500 _OSP_EXPORT_ extern const wchar_t* const PLAYER_VIDEO_CODEC;
501
502 /**
503 * The property key to check the maximum height of the video that the player supports.
504 *
505 * @since                2.0
506 */
507 _OSP_EXPORT_ extern const wchar_t* const PLAYER_VIDEO_HEIGHT;
508
509 /**
510 * The property key to check the maximum width of the video that the player supports.
511 *
512 * @since                2.0
513 */
514 _OSP_EXPORT_ extern const wchar_t* const PLAYER_VIDEO_WIDTH;
515
516 /**
517 * The property key to check the list of audio codecs that the video recorder supports.
518 *
519 * @since                2.0
520 */
521 _OSP_EXPORT_ extern const wchar_t* const VIDEORECORDER_AUDIO_CODEC;
522
523 /**
524 * The property key to check the list of container formats that the video recorder supports.
525 *
526 * @since                2.0
527 */
528 _OSP_EXPORT_ extern const wchar_t* const VIDEORECORDER_FORMAT;
529
530 /**
531 * The property key to check the list of video codecs that the video recorder supports.
532 *
533 * @since                2.0
534 */
535 _OSP_EXPORT_ extern const wchar_t* const VIDEORECORDER_VIDEO_CODEC;
536
537 }}// Tizen::Media
538
539 #endif