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 CALL_MANAGER_IPC_INTERFACE_CODE_H 17 #define CALL_MANAGER_IPC_INTERFACE_CODE_H 18 19 /* SAID:4005 */ 20 namespace OHOS { 21 namespace Telephony { 22 extern "C" { 23 enum CallManagerInterfaceCode { 24 INTERFACE_REGISTER_CALLBACK = 0, 25 INTERFACE_UNREGISTER_CALLBACK, 26 INTERFACE_DIAL_CALL, 27 INTERFACE_ANSWER_CALL, 28 INTERFACE_REJECT_CALL, 29 INTERFACE_HOLD_CALL, 30 INTERFACE_UNHOLD_CALL, 31 INTERFACE_DISCONNECT_CALL, 32 INTERFACE_GET_CALL_STATE, 33 INTERFACE_SWAP_CALL, 34 INTERFACE_HAS_CALL, 35 INTERFACE_IS_NEW_CALL_ALLOWED, 36 INTERFACE_IS_RINGING, 37 INTERFACE_IS_EMERGENCY_CALL, 38 INTERFACE_IS_EMERGENCY_NUMBER, 39 INTERFACE_IS_FORMAT_NUMBER, 40 INTERFACE_IS_FORMAT_NUMBER_E164, 41 INTERFACE_COMBINE_CONFERENCE, 42 INTERFACE_SEPARATE_CONFERENCE, 43 INTERFACE_START_DTMF, 44 INTERFACE_STOP_DTMF, 45 INTERFACE_POST_DIAL_PROCEED, 46 INTERFACE_GET_CALL_WAITING, 47 INTERFACE_SET_CALL_WAITING, 48 INTERFACE_GET_CALL_RESTRICTION, 49 INTERFACE_SET_CALL_RESTRICTION, 50 INTERFACE_SET_CALL_RESTRICTION_PASSWORD, 51 INTERFACE_GET_CALL_TRANSFER, 52 INTERFACE_SET_CALL_TRANSFER, 53 INTERFACE_CAN_SET_CALL_TRANSFER_TIME, 54 INTERFACE_GET_MAINID, 55 INTERFACE_GET_SUBCALL_LIST_ID, 56 INTERFACE_GET_CALL_LIST_ID_FOR_CONFERENCE, 57 INTERFACE_SET_MUTE, 58 INTERFACE_MUTE_RINGER, 59 INTERFACE_SET_AUDIO_DEVICE, 60 INTERFACE_CTRL_CAMERA, 61 INTERFACE_SET_PREVIEW_WINDOW, 62 INTERFACE_SET_DISPLAY_WINDOW, 63 INTERFACE_SET_CAMERA_ZOOM, 64 INTERFACE_SET_PAUSE_IMAGE, 65 INTERFACE_SET_DEVICE_DIRECTION, 66 INTERFACE_SETCALL_PREFERENCEMODE, 67 INTERFACE_GET_IMS_CONFIG, 68 INTERFACE_SET_IMS_CONFIG, 69 INTERFACE_GET_IMS_FEATURE_VALUE, 70 INTERFACE_SET_IMS_FEATURE_VALUE, 71 INTERFACE_UPDATE_CALL_MEDIA_MODE, 72 INTERFACE_ENABLE_VOLTE, 73 INTERFACE_DISABLE_VOLTE, 74 INTERFACE_IS_VOLTE_ENABLED, 75 INTERFACE_START_RTT, 76 INTERFACE_STOP_RTT, 77 INTERFACE_JOIN_CONFERENCE, 78 INTERFACE_REPORT_OTT_CALL_DETAIL_INFO, 79 INTERFACE_REPORT_OTT_CALL_EVENT_INFO, 80 INTERFACE_GET_PROXY_OBJECT_PTR, 81 INTERFACE_CLOSE_UNFINISHED_USSD, 82 INTERFACE_REPORT_AUDIO_DEVICE_INFO, 83 INTERFACE_INPUT_DIALER_SPECIAL_CODE, 84 INTERFACE_CANCEL_MISSED_INCOMING_CALL_NOTIFICATION, 85 INTERFACE_SET_VONR_STATE, 86 INTERFACE_GET_VONR_STATE, 87 INTERFACE_KICK_OUT_CONFERENCE, 88 }; 89 } // end extern 90 } // namespace Telephony 91 } // namespace OHOS 92 #endif // CALL_MANAGER_IPC_INTERFACE_CODE_H 93