2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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
9 // http://www.apache.org/licenses/LICENSE-2.0
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.
19 * @file FMediaCapabilityTypes.h
20 * @brief This is the header file for the common data of the MediaCapability class.
22 * This header file contains the declarations of common data of the MediaCapability class.
25 #ifndef _FMEDIA_CAPABILITY_TYPES_H_
26 #define _FMEDIA_CAPABILITY_TYPES_H_
30 namespace Tizen { namespace Media
34 * The property key to check the list of the supported sample rates of AudioIn.
38 _OSP_EXPORT_ extern const wchar_t* const AUDIOIN_SAMPLE_RATE;
41 * The property key to check the list of the supported sample types of AudioIn.
45 _OSP_EXPORT_ extern const wchar_t* const AUDIOIN_SAMPLE_TYPE;
48 * The property key to check the maximum instance count that AudioOut can construct.
52 _OSP_EXPORT_ extern const wchar_t* const AUDIOOUT_COUNT_MAX;
55 * The property key to check the list of the supported sample rates of AudioOut.
59 _OSP_EXPORT_ extern const wchar_t* const AUDIOOUT_SAMPLE_RATE;
62 * The property key to check the list of the supported sample types of AudioOut.
66 _OSP_EXPORT_ extern const wchar_t* const AUDIOOUT_SAMPLE_TYPE;
69 * The property key to check the list of audio formats that the audio recorder supports.
73 _OSP_EXPORT_ extern const wchar_t* const AUDIORECORDER_FORMAT;
76 * The property key to check the count of cameras that are supported.
80 _OSP_EXPORT_ extern const wchar_t* const CAMERA_COUNT;
83 * The property key to check the list of capture formats that the primary camera supports.
87 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_CAPTURE_FORMAT;
90 * The property key to check the list of capture resolutions that the primary camera supports.
94 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_CAPTURE_RESOLUTION;
97 * The property key to check the physical direction of the primary camera.
101 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_DIRECTION;
104 * The property key to check the list of effects that the primary camera supports.
108 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_EFFECT;
111 * The property key to check the list of ISO levels that the primary camera supports.
115 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_ISO_LEVEL;
118 * The property key to check the list of preview formats that the primary camera supports.
122 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_PREVIEW_FORMAT;
125 * The property key to check the list of preview frame rates that the primary camera supports.
129 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_PREVIEW_FRAMERATE;
132 * The property key to check the list of preview resolutions that the primary camera supports.
136 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_PREVIEW_RESOLUTION;
139 * The property key to check the list of recording resolutions that the primary camera supports.
143 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_RECORDING_RESOLUTION;
146 * The property key to check the physical rotation of the primary camera in the portrait mode.
150 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_ROTATION;
153 * The property key to check the ability of the primary camera to support brightness APIs.
157 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_BRIGHTNESS;
160 * The property key to check the ability of the primary camera to support capture APIs.
164 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_CAPTURE;
167 * The property key to check the ability of the primary camera to support contrast APIs.
171 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_CONTRAST;
174 * The property key to check the ability of the primary camera to support exposure APIs.
178 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_EXPOSURE;
181 * The property key to check the ability of the primary camera to support flash APIs.
185 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_FLASH;
188 * The property key to check the ability of the primary camera to support focus APIs.
192 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_FOCUS;
195 * The property key to check the ability of the primary camera to support preview APIs.
199 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_PREVIEW;
202 * The property key to check the ability of the primary camera to be used with the video recorder.
206 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_RECORDING;
209 * The property key to check the ability of the primary camera to support zoom APIs.
213 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_ZOOM;
216 * The property key to check the ability of the primary camera to support zero-shutter-lag feature.
220 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SUPPORT_ZERO_SHUTTER_LAG;
223 * The property key to check the list of white balances that the primary camera supports.
227 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_WHITE_BALANCE;
230 * The property key to check the list of zoom types that the primary camera supports.
234 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_ZOOM_TYPE;
237 * The property key to check the list of flip types that the primary camera supports.
241 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_FLIP;
244 * The property key to check the list of preview rotations that the primary camera supports.
248 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_PREVIEW_ROTATION;
251 * The property key to check the list of focus mode that the primary camera supports.
255 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_FOCUS_MODE;
258 * The property key to check the list of flash mode that the primary camera supports.
262 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_FLASH_MODE;
265 * The property key to check the default preview format of the primary camera.
269 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_DEFAULT_PREVIEW_FORMAT;
272 * The property key to check the list of metering mode that the primary camera supports.
276 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_METERING_MODE;
279 * The property key to check the list of scene mode that the primary camera supports.
283 _OSP_EXPORT_ extern const wchar_t* const CAMERA_PRIMARY_SCENE_MODE;
287 * The property key to check the list of capture formats that the secondary camera supports.
291 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_CAPTURE_FORMAT;
294 * The property key to check the list of capture resolutions that the secondary camera supports.
298 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_CAPTURE_RESOLUTION;
301 * The property key to check the physical direction of the secondary camera.
305 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_DIRECTION;
308 * The property key to check the list of effects that the secondary camera supports.
312 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_EFFECT;
315 * The property key to check the list of ISO levels that the secondary camera supports.
319 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_ISO_LEVEL;
322 * The property key to check the list of preview formats that the secondary camera supports.
326 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_PREVIEW_FORMAT;
329 * The property key to check the list of preview frame rates that the secondary camera supports.
333 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_PREVIEW_FRAMERATE;
336 * The property key to check the list of preview resolutions that the secondary camera supports.
340 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_PREVIEW_RESOLUTION;
343 * The property key to check the list of recording resolutions that the secondary camera supports.
347 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_RECORDING_RESOLUTION;
350 * The property key to check the physical rotation of the secondary camera in the portrait mode.
354 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_ROTATION;
357 * The property key to check the ability of the secondary camera to support brightness APIs.
361 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_BRIGHTNESS;
364 * The property key to check the ability of the secondary camera to support capture APIs.
368 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_CAPTURE;
371 * The property key to check the ability of the secondary camera to support contrast APIs.
375 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_CONTRAST;
378 * The property key to check the ability of the secondary camera to support exposure APIs.
382 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_EXPOSURE;
385 * The property key to check the ability of the secondary camera to support flash APIs.
389 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_FLASH;
392 * The property key to check the ability of the secondary camera to support focus APIs.
396 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_FOCUS;
399 * The property key to check the ability of the secondary camera to support preview APIs.
403 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_PREVIEW;
406 * The property key to check the ability of the secondary camera to be used with the video recorder.
410 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_RECORDING;
413 * The property key to check the ability of the secondary camera to support zoom APIs.
417 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_ZOOM;
420 * The property key to check the ability of the secondary camera to support zero-shutter-lag feature.
424 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_ZERO_SHUTTER_LAG;
427 * The property key to check the list of white balances that the secondary camera supports.
431 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_WHITE_BALANCE;
434 * The property key to check the list of zoom types that the secondary camera supports.
438 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_ZOOM_TYPE;
441 * The property key to check the list of flip types that the secondary camera supports.
445 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_FLIP;
448 * The property key to check the list of preview rotations that the secondary camera supports.
452 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_PREVIEW_ROTATION;
455 * The property key to check the list of focus mode that the secondary camera supports.
459 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_FOCUS_MODE;
462 * The property key to check the list of flash mode that the secondary camera supports.
466 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_FLASH_MODE;
469 * The property key to check the default preview format of the secondary camera.
473 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_DEFAULT_PREVIEW_FORMAT;
476 * The property key to check the list of metering mode that the secondary camera supports.
480 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_METERING_MODE;
483 * The property key to check the list of scene mode that the secondary camera supports.
487 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SCENE_MODE;
490 * The property key to check the list of audio codecs that the player supports.
494 _OSP_EXPORT_ extern const wchar_t* const PLAYER_AUDIO_CODEC;
497 * The property key to check the maximum count of instances that the player can construct.
501 _OSP_EXPORT_ extern const wchar_t* const PLAYER_COUNT_MAX;
504 * The property key to check the list of streaming protocols that the player supports.
508 _OSP_EXPORT_ extern const wchar_t* const PLAYER_PROTOCOL;
511 * The property key to check the list of video codecs that the player supports.
515 _OSP_EXPORT_ extern const wchar_t* const PLAYER_VIDEO_CODEC;
518 * The property key to check the maximum height of the video that the player supports.
522 _OSP_EXPORT_ extern const wchar_t* const PLAYER_VIDEO_HEIGHT;
525 * The property key to check the maximum width of the video that the player supports.
529 _OSP_EXPORT_ extern const wchar_t* const PLAYER_VIDEO_WIDTH;
532 * The property key to check the list of audio codecs that the video recorder supports.
536 _OSP_EXPORT_ extern const wchar_t* const VIDEORECORDER_AUDIO_CODEC;
539 * The property key to check the list of container formats that the video recorder supports.
543 _OSP_EXPORT_ extern const wchar_t* const VIDEORECORDER_FORMAT;
546 * The property key to check the list of video codecs that the video recorder supports.
550 _OSP_EXPORT_ extern const wchar_t* const VIDEORECORDER_VIDEO_CODEC;