1 /* 2 * Copyright (C) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef CELLULAR_CALL_IPC_INTERFACE_CODE_H 17 #define CELLULAR_CALL_IPC_INTERFACE_CODE_H 18 19 /* SAID:4005 */ 20 namespace OHOS { 21 namespace Telephony { 22 enum class CellularCallInterfaceCode { 23 /****************** basic ******************/ 24 DIAL = 1, 25 HANG_UP, 26 REJECT, 27 ANSWER, 28 HOLD_CALL, 29 UN_HOLD_CALL, 30 SWITCH_CALL, 31 EMERGENCY_CALL, 32 SET_EMERGENCY_CALL_LIST, 33 COMBINE_CONFERENCE, 34 SEPARATE_CONFERENCE, 35 INVITE_TO_CONFERENCE, 36 KICK_OUT_CONFERENCE, 37 HANG_UP_ALL_CONNECTION, 38 SET_READY_TO_CALL, 39 UPDATE_CALL_MEDIA_MODE, 40 REGISTER_CALLBACK, 41 UNREGISTER_CALLBACK, 42 CLEAR_ALL_CALLS, 43 44 /****************** dtmf rtt ******************/ 45 START_DTMF = 100, 46 STOP_DTMF, 47 SEND_DTMF, 48 POST_DIAL_PROCEED, 49 START_RTT, 50 STOP_RTT, 51 52 /****************** supplement ******************/ 53 SET_CALL_TRANSFER = 200, 54 GET_CALL_TRANSFER, 55 CAN_SET_CALL_TRANSFER_TIME, 56 SET_CALL_WAITING, 57 GET_CALL_WAITING, 58 SET_CALL_RESTRICTION, 59 GET_CALL_RESTRICTION, 60 CLOSE_UNFINISHED_USSD, 61 SET_CALL_RESTRICTION_PWD, 62 63 /****************** config ******************/ 64 SET_DOMAIN_PREFERENCE_MODE = 300, 65 GET_DOMAIN_PREFERENCE_MODE, 66 SET_IMS_SWITCH_STATUS, 67 GET_IMS_SWITCH_STATUS, 68 SET_IMS_CONFIG_STRING, 69 SET_IMS_CONFIG_INT, 70 GET_IMS_CONFIG, 71 SET_IMS_FEATURE, 72 GET_IMS_FEATURE, 73 SET_MUTE, 74 GET_MUTE, 75 SET_VONR_SWITCH_STATUS, 76 GET_VONR_SWITCH_STATUS, 77 78 /****************** video settings ******************/ 79 CTRL_CAMERA = 400, 80 SET_PREVIEW_WINDOW, 81 SET_DISPLAY_WINDOW, 82 SET_CAMERA_ZOOM, 83 SET_PAUSE_IMAGE, 84 SET_DEVICE_DIRECTION, 85 }; 86 } // namespace Telephony 87 } // namespace OHOS 88 #endif // CELLULAR_CALL_IPC_INTERFACE_CODE_H