2 // Open Service Platform
3 // Copyright (c) 2012-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.
19 * @brief This is the header file for the enumerations of the Telephony namespace.
21 * This header file contains the definitions of the enumerations of the Telephony namespace.
26 namespace Tizen { namespace Telephony
31 * Defines the type of the current call.
37 TYPE_UNDEFINED_CALL = -1, /**< No defined type */
38 TYPE_VOICE_CALL = 0, /**< The voice call type */
39 TYPE_VIDEO_CALL /**< The video call type */
45 * Defines the current status of calls.
51 CALL_STATUS_UNDEFINED = -1, /**< No defined type */
52 CALL_STATUS_IDLE = 0, /**< No call is in progress */
53 CALL_STATUS_ACTIVE, /**< @if OSPDEPREC @deprecated This enum value is deprecated because an active status is divided into three, that is, communicating, ringing, dialing, and holding @endif */
54 CALL_STATUS_COMMUNICATING, /**< Voice or video calls are in progress */
55 CALL_STATUS_RINGING, /**< An incoming voice or video call */
56 CALL_STATUS_DIALING, /**< An outgoing voice or video call */
57 CALL_STATUS_HOLDING /**< A call on holding status */
63 * Defines the type of the SIM card.
69 SIM_TYPE_UNKNOWN, /**< Unknown card */
70 SIM_TYPE_GSM, /**< GSM SIM card */
71 SIM_TYPE_USIM, /**< Universal SIM card */
72 SIM_TYPE_RUIM, /**< Removable UIM (User Identity Module) */
73 SIM_TYPE_ISIM /**< IMS SIM card */
79 * Defines the current state of the SIM card.
85 SIM_STATE_UNKNOWN, /**< Unknown state */
86 SIM_STATE_ABSENT, /**< SIM is not present */
87 SIM_STATE_INITIALIZING, /**< SIM is in initializing state */
88 SIM_STATE_READY, /**< SIM is in ready state */
89 SIM_STATE_PIN_REQUIRED, /**< PIN required */
90 SIM_STATE_PUK_REQUIRED, /**< PUK required */
91 SIM_STATE_NETWORK_LOCKED, /**< Network locked state */
92 SIM_STATE_SIM_LOCKED /**< PH-SIM (phone-SIM) locked state */
95 }} // Tizen::Telephony
96 #endif // _FTEL_ENUM_H_