2 * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
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.
18 #ifndef __TIZEN_SYSTEM_SYSTEM_INFO_TYPE_H__
19 #define __TIZEN_SYSTEM_SYSTEM_INFO_TYPE_H__
29 * @addtogroup CAPI_SYSTEM_SYSTEM_INFO_MODULE
34 * @brief Enumeration of error codes for system information
37 SYSTEM_INFO_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
38 SYSTEM_INFO_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
39 SYSTEM_INFO_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
40 SYSTEM_INFO_ERROR_IO_ERROR = TIZEN_ERROR_IO_ERROR, /**< An input/output error occurred when reading value from system */
41 SYSTEM_INFO_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< No permission to use the API */
42 SYSTEM_INFO_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported parameter (Since 3.0) */
43 } system_info_error_e;
47 * @brief Enumeration of key for system information
50 SYSTEM_INFO_KEY_MODEL, /**< @internal The model of the device */
51 SYSTEM_INFO_KEY_TIZEN_VERSION, /**< @internal The version of the Tizen API */
52 SYSTEM_INFO_KEY_PLATFORM_NAME, /**< @internal The name of platform */
53 SYSTEM_INFO_KEY_TIZEN_VERSION_NAME, /**< @internal The name of tizen version */
54 SYSTEM_INFO_KEY_MANUFACTURER, /**< @internal The manufacturer of the device */
55 SYSTEM_INFO_KEY_CORE_CPU_ARCH, /**< @internal The CORE CPU architecture of model */
56 SYSTEM_INFO_KEY_CORE_CPU_FREQ, /**< @internal The CORE CPU frequency of model */
57 SYSTEM_INFO_KEY_BUILD_STRING, /**< @internal The build string of platform binary */
58 SYSTEM_INFO_KEY_BUILD_DATE, /**< @internal The build date of platform binary */
59 SYSTEM_INFO_KEY_BUILD_TIME, /**< @internal The build time of platform binary */
60 SYSTEM_INFO_KEY_SCREEN_HEIGHT, /**< @internal The height of the screen in pixels */
61 SYSTEM_INFO_KEY_SCREEN_WIDTH, /**< @internal The width of the screen in pixels */
62 SYSTEM_INFO_KEY_PHYSICAL_SCREEN_HEIGHT, /**< @internal The physical screen height in millimeters */
63 SYSTEM_INFO_KEY_PHYSICAL_SCREEN_WIDTH, /**< @internal The physical screen width in millimeters */
64 SYSTEM_INFO_KEY_TETHERING_SUPPORTED, /**< @internal Indicates whether the device supports tethering */
77 #endif /* __TIZEN_SYSTEM_SYSTEM_INFO_TYPE_H__ */