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 capture formats that the secondary camera supports.
283 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_CAPTURE_FORMAT;
286 * The property key to check the list of capture resolutions that the secondary camera supports.
290 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_CAPTURE_RESOLUTION;
293 * The property key to check the physical direction of the secondary camera.
297 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_DIRECTION;
300 * The property key to check the list of effects that the secondary camera supports.
304 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_EFFECT;
307 * The property key to check the list of ISO levels that the secondary camera supports.
311 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_ISO_LEVEL;
314 * The property key to check the list of preview formats that the secondary camera supports.
318 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_PREVIEW_FORMAT;
321 * The property key to check the list of preview frame rates that the secondary camera supports.
325 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_PREVIEW_FRAMERATE;
328 * The property key to check the list of preview resolutions that the secondary camera supports.
332 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_PREVIEW_RESOLUTION;
335 * The property key to check the list of recording resolutions that the secondary camera supports.
339 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_RECORDING_RESOLUTION;
342 * The property key to check the physical rotation of the secondary camera in the portrait mode.
346 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_ROTATION;
349 * The property key to check the ability of the secondary camera to support brightness APIs.
353 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_BRIGHTNESS;
356 * The property key to check the ability of the secondary camera to support capture APIs.
360 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_CAPTURE;
363 * The property key to check the ability of the secondary camera to support contrast APIs.
367 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_CONTRAST;
370 * The property key to check the ability of the secondary camera to support exposure APIs.
374 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_EXPOSURE;
377 * The property key to check the ability of the secondary camera to support flash APIs.
381 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_FLASH;
384 * The property key to check the ability of the secondary camera to support focus APIs.
388 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_FOCUS;
391 * The property key to check the ability of the secondary camera to support preview APIs.
395 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_PREVIEW;
398 * The property key to check the ability of the secondary camera to be used with the video recorder.
402 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_RECORDING;
405 * The property key to check the ability of the secondary camera to support zoom APIs.
409 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_ZOOM;
412 * The property key to check the ability of the secondary camera to support zero-shutter-lag feature.
416 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_SUPPORT_ZERO_SHUTTER_LAG;
419 * The property key to check the list of white balances that the secondary camera supports.
423 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_WHITE_BALANCE;
426 * The property key to check the list of zoom types that the secondary camera supports.
430 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_ZOOM_TYPE;
433 * The property key to check the list of flip types that the secondary camera supports.
437 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_FLIP;
440 * The property key to check the list of preview rotations that the secondary camera supports.
444 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_PREVIEW_ROTATION;
447 * The property key to check the list of focus mode that the secondary camera supports.
451 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_FOCUS_MODE;
454 * The property key to check the list of flash mode that the secondary camera supports.
458 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_FLASH_MODE;
461 * The property key to check the default preview format of the secondary camera.
465 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_DEFAULT_PREVIEW_FORMAT;
468 * The property key to check the list of metering mode that the secondary camera supports.
472 _OSP_EXPORT_ extern const wchar_t* const CAMERA_SECONDARY_METERING_MODE;
475 * The property key to check the list of audio codecs that the player supports.
479 _OSP_EXPORT_ extern const wchar_t* const PLAYER_AUDIO_CODEC;
482 * The property key to check the maximum count of instances that the player can construct.
486 _OSP_EXPORT_ extern const wchar_t* const PLAYER_COUNT_MAX;
489 * The property key to check the list of streaming protocols that the player supports.
493 _OSP_EXPORT_ extern const wchar_t* const PLAYER_PROTOCOL;
496 * The property key to check the list of video codecs that the player supports.
500 _OSP_EXPORT_ extern const wchar_t* const PLAYER_VIDEO_CODEC;
503 * The property key to check the maximum height of the video that the player supports.
507 _OSP_EXPORT_ extern const wchar_t* const PLAYER_VIDEO_HEIGHT;
510 * The property key to check the maximum width of the video that the player supports.
514 _OSP_EXPORT_ extern const wchar_t* const PLAYER_VIDEO_WIDTH;
517 * The property key to check the list of audio codecs that the video recorder supports.
521 _OSP_EXPORT_ extern const wchar_t* const VIDEORECORDER_AUDIO_CODEC;
524 * The property key to check the list of container formats that the video recorder supports.
528 _OSP_EXPORT_ extern const wchar_t* const VIDEORECORDER_FORMAT;
531 * The property key to check the list of video codecs that the video recorder supports.
535 _OSP_EXPORT_ extern const wchar_t* const VIDEORECORDER_VIDEO_CODEC;