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 TELEPHONY_IMS_CALL_CALLBACK_IPC_INTERFACE_CODE_H 17 #define TELEPHONY_IMS_CALL_CALLBACK_IPC_INTERFACE_CODE_H 18 19 /* SAID:4006 */ 20 namespace OHOS { 21 namespace Telephony { 22 enum class ImsCallCallbackInterfaceCode { 23 /** 24 * @brief map the specific request service function in ipc, one id corresponds one service, 25 * between ImsCallCallbackProxy and ImsCallCallbackStub 26 */ 27 /****************** call basic ******************/ 28 IMS_DIAL = 0, 29 IMS_HANG_UP, 30 IMS_REJECT, 31 IMS_ANSWER, 32 IMS_HOLD, 33 IMS_UN_HOLD, 34 IMS_SWITCH, 35 IMS_COMBINE_CONFERENCE, 36 IMS_INVITE_TO_CONFERENCE, 37 IMS_KICK_OUT_CONFERENCE, 38 IMS_UPDATE_CALL_MEDIA_MODE, 39 IMS_EMERGENCY_CALL, 40 IMS_CALL_STATE_CHANGE, 41 IMS_SERVICE_STATUS, 42 IMS_LAST_CALL_FAIL_REASON, 43 IMS_GET_CALLS_DATA, 44 IMS_SRVCC_STATE, 45 IMS_VT_OR_WFC, 46 IMS_CALL_CRING, 47 48 /****************** dtmf rtt ******************/ 49 IMS_START_DTMF, 50 IMS_SEND_DTMF, 51 IMS_STOP_DTMF, 52 IMS_START_RTT, 53 IMS_STOP_RTT, 54 55 /****************** ims config ******************/ 56 IMS_SET_PRE_MODE, 57 IMS_GET_PRE_MODE, 58 IMS_SET_SWITCH_STATUS, 59 IMS_GET_SWITCH_STATUS, 60 IMS_SET_CONFIG, 61 IMS_GET_CONFIG, 62 IMS_SET_FEATURE, 63 IMS_GET_FEATURE, 64 IMS_SET_MUTE, 65 IMS_GET_MUTE, 66 IMS_GET_EMERGENCY_CALL_LIST, 67 68 /****************** video settings ******************/ 69 IMS_CONTROL_CAMERA, 70 IMS_SET_PREVIEW_WINDOW, 71 IMS_SET_DISPLAY_WINDOW, 72 IMS_SET_CAMERA_ZOOM, 73 IMS_SET_PAUSE_IMAGE, 74 IMS_SET_DEVICE_DIRECTION, 75 76 /****************** supplement ******************/ 77 IMS_GET_CALL_CLIP, 78 IMS_SET_CALL_CLIP, 79 IMS_GET_CALL_CLIR, 80 IMS_SET_CALL_CLIR, 81 IMS_GET_CALL_FORWARD, 82 IMS_SET_CALL_FORWARD, 83 IMS_GET_CALL_RESTRICTION, 84 IMS_SET_CALL_RESTRICTION, 85 IMS_GET_CALL_WAIT, 86 IMS_SET_CALL_WAIT, 87 IMS_GET_CALL_COLR, 88 IMS_SET_CALL_COLR, 89 IMS_SET_CALL_COLP, 90 IMS_GET_CALL_COLP, 91 }; 92 } // namespace Telephony 93 } // namespace OHOS 94 #endif // TELEPHONY_IMS_CALL_CALLBACK_IPC_INTERFACE_CODE_H