2 // Open Service Platform
3 // Copyright (c) 2013 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.
20 * @file FUixVisionQrCodeTypes.h
21 * @brief This is the header file for the QR code types.
24 #ifndef _FUIX_VISION_QR_CODE_TYPES_H_
25 #define _FUIX_VISION_QR_CODE_TYPES_H_
27 namespace Tizen { namespace Uix { namespace Vision
31 * @enum QrCodeErrorCorrectionLevel
33 * Defines possible error correction levels.
35 * @brief Enumeration that defines possible error correction levels for QR code.
39 enum QrCodeErrorCorrectionLevel
41 QR_CODE_ERROR_CORRECTION_LEVEL_L = 1, /** < Low */
42 QR_CODE_ERROR_CORRECTION_LEVEL_M = 2, /** < Medium */
43 QR_CODE_ERROR_CORRECTION_LEVEL_Q = 3, /** < Quartile */
44 QR_CODE_ERROR_CORRECTION_LEVEL_H = 4 /** < High */
50 * Defines possible encoding modes for QR codes.
52 * @brief Enumeration that defines possible encoding modes for QR code.
58 QR_CODE_MODE_ALPHANUMERIC = 0, /** < Alphanumeric */
59 QR_CODE_MODE_BYTE = 1, /** < Byte */
60 QR_CODE_MODE_UTF8 = 2 /** < UTF8 */
63 } } } //Tizen::Uix::Vision
65 #endif // _FUIX_VISION_QR_CODE_TYPES_H_