1 /* 2 * Copyright (C) 2023-2024 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 SATELLITE_CORE_CALLBACK_INTERFACE_CODE_H 17 #define SATELLITE_CORE_CALLBACK_INTERFACE_CODE_H 18 19 /* SAID:4012 */ 20 namespace OHOS { 21 namespace Telephony { 22 enum class SatelliteCoreCallbackInterfaceCode { 23 SET_RADIO_STATE_RESPONSE = 0, 24 RADIO_STATE_CHANGED, 25 SIM_STATE_CHANGED, 26 SATELLITE_STATUS_CHANGED, 27 }; 28 29 enum SatelliteRadioResponseType { 30 DEFAULT_RADIO_RESPONSE = 1, 31 RADIO_STATE_INFO, 32 }; 33 34 struct SatelliteStatus { 35 int32_t slotId = -1; 36 int32_t mode = 0; 37 }; 38 } // namespace Telephony 39 } // namespace OHOS 40 #endif // SATELLITE_CORE_CALLBACK_INTERFACE_CODE_H 41