1 /* 2 * Copyright (C) 2021 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 SMS_MMS_DATA_H 17 #define SMS_MMS_DATA_H 18 19 namespace OHOS { 20 namespace Telephony { 21 class SmsMmsData { 22 public: 23 static constexpr const char *ID = "id"; 24 static constexpr const char *SLOT_ID = "slot_id"; 25 static constexpr const char *SMS_SUBSECTION_ID = "sms_subsection_id"; 26 static constexpr const char *RECEIVER_NUMBER = "receiver_number"; 27 static constexpr const char *SENDER_NUMBER = "sender_number"; 28 static constexpr const char *IS_SENDER = "is_sender"; 29 static constexpr const char *START_TIME = "start_time"; 30 static constexpr const char *END_TIME = "end_time"; 31 static constexpr const char *RAW_PUD = "raw_pdu"; 32 static constexpr const char *FORMAT = "format"; 33 static constexpr const char *DEST_PORT = "dest_port"; 34 static constexpr const char *SUBSECTION_INDEX = "subsection_index"; 35 static constexpr const char *SIZE = "size"; 36 }; 37 } // namespace Telephony 38 } // namespace OHOS 39 #endif // SMS_MMS_DATA_H 40 41