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 #ifndef __FEEDBACK_IDS_H__
20 #define __FEEDBACK_IDS_H__
29 * @addtogroup CAPI_SYSTEM_FEEDBACK_MODULE
35 * @brief Enumeration for feedback interface type.
36 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
39 FEEDBACK_TYPE_NONE, /**< Feedback type none */
40 FEEDBACK_TYPE_SOUND, /**< Feedback type for sound */
41 FEEDBACK_TYPE_VIBRATION, /**< Feedback type for vibration */
47 * @brief Enumeration for feedback interface of the system pre-defined patterns.
48 * @details Each feedback pattern can have separate media files of each types.
49 * But depending on vendor design, pattern may not have any type of file.
50 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
53 FEEDBACK_PATTERN_NONE = -1,
55 FEEDBACK_PATTERN_TAP = 0, /**< Feedback pattern when general touch */
56 FEEDBACK_PATTERN_SIP, /**< Feedback pattern when touch text key */
57 FEEDBACK_PATTERN_KEY0 = 6, /**< Feedback pattern when touch numeric 0 key */
58 FEEDBACK_PATTERN_KEY1, /**< Feedback pattern when touch numeric 1 key */
59 FEEDBACK_PATTERN_KEY2, /**< Feedback pattern when touch numeric 2 key */
60 FEEDBACK_PATTERN_KEY3, /**< Feedback pattern when touch numeric 3 key */
61 FEEDBACK_PATTERN_KEY4, /**< Feedback pattern when touch numeric 4 key */
62 FEEDBACK_PATTERN_KEY5, /**< Feedback pattern when touch numeric 5 key */
63 FEEDBACK_PATTERN_KEY6, /**< Feedback pattern when touch numeric 6 key */
64 FEEDBACK_PATTERN_KEY7, /**< Feedback pattern when touch numeric 7 key */
65 FEEDBACK_PATTERN_KEY8, /**< Feedback pattern when touch numeric 8 key */
66 FEEDBACK_PATTERN_KEY9, /**< Feedback pattern when touch numeric 9 key */
67 FEEDBACK_PATTERN_KEY_STAR, /**< Feedback pattern when touch star key */
68 FEEDBACK_PATTERN_KEY_SHARP, /**< Feedback pattern when touch sharp key */
69 FEEDBACK_PATTERN_KEY_BACK, /**< Feedback pattern when touch backspace key */
70 FEEDBACK_PATTERN_HOLD, /**< Feedback pattern when touch hold */
71 FEEDBACK_PATTERN_HW_TAP = 21, /**< Feedback pattern when press hardware key */
72 FEEDBACK_PATTERN_HW_HOLD, /**< Feedback pattern when holding press hardware key */
74 FEEDBACK_PATTERN_MESSAGE, /**< Feedback pattern when incoming a message */
75 FEEDBACK_PATTERN_EMAIL = 25, /**< Feedback pattern when incoming an email */
76 FEEDBACK_PATTERN_WAKEUP = 27, /**< Feedback pattern when alert wake up call */
77 FEEDBACK_PATTERN_SCHEDULE = 29, /**< Feedback pattern when alert schedule alarm */
78 FEEDBACK_PATTERN_TIMER = 31, /**< Feedback pattern when alert timer */
79 FEEDBACK_PATTERN_GENERAL = 33, /**< Feedback pattern when alert general event */
81 FEEDBACK_PATTERN_POWERON = 36, /**< Feedback pattern when power on */
82 FEEDBACK_PATTERN_POWEROFF, /**< Feedback pattern when power off */
83 FEEDBACK_PATTERN_CHARGERCONN, /**< Feedback pattern when connecting charger */
84 FEEDBACK_PATTERN_CHARGING_ERROR = 40, /**< Feedback pattern when occuring charging error */
85 FEEDBACK_PATTERN_FULLCHARGED = 42, /**< Feedback pattern when full charged */
86 FEEDBACK_PATTERN_LOWBATT = 44, /**< Feedback pattern when low battery */
87 FEEDBACK_PATTERN_LOCK = 46, /**< Feedback pattern when lock */
88 FEEDBACK_PATTERN_UNLOCK, /**< Feedback pattern when unlock */
89 FEEDBACK_PATTERN_VIBRATION_ON = 55, /**< Feedback pattern when turn on vibration mode */
90 FEEDBACK_PATTERN_SILENT_OFF, /**< Feedback pattern when turn off silent mode */
91 FEEDBACK_PATTERN_BT_CONNECTED, /**< Feedback pattern when connecting with bluetooth */
92 FEEDBACK_PATTERN_BT_DISCONNECTED, /**< Feedback pattern when disconnecting with bluetooth */
93 FEEDBACK_PATTERN_LIST_REORDER = 62, /**< Feedback pattern when list reorder */
94 FEEDBACK_PATTERN_LIST_SLIDER, /**< Feedback pattern when list slider sweep */
95 FEEDBACK_PATTERN_VOLUME_KEY, /**< Feedback pattern when pressed volume key */
97 FEEDBACK_PATTERN_SYSTEM_SHORT = 107, /**< Feedback pattern for short feedback (Since 4.0) */
98 FEEDBACK_PATTERN_SYSTEM_ERROR, /**< Feedback pattern for error (Since 4.0) */
99 FEEDBACK_PATTERN_SYSTEM_LONG = 112, /**< Feedback pattern for long feedback (Since 4.0) */
100 FEEDBACK_PATTERN_SYSTEM_MID, /**< Feedback pattern for normal feedback (Since 4.0) */
101 FEEDBACK_PATTERN_END_EFFECT = 117, /**< Feedback pattern for end of effect (Since 4.0) */
103 FEEDBACK_PATTERN_GENERAL_STRONG_BUZZ = 135, /**< Feedback pattern for strong buzz (Since 4.0) */
104 FEEDBACK_PATTERN_END = 10000,
106 } feedback_pattern_e;
119 #endif //__FEEDBACK_IDS_H__