/* * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Tizen.Tapi { /// /// Enumeration for the storage types to be selected in the SIM or USIM. /// public enum PhonebookType { /// /// Fixed Dialing Number. /// Fdn, /// /// Sim - ADN. /// Adn, /// /// Service Dialing Number. /// Sdn, /// /// USIM - 3G phone book. /// Usim, /// /// Additional number Alpha String. /// Aas, /// /// Grouping identifier Alpha String. /// Gas, /// /// Unknown file type. /// Unknown = 0xFF } /// /// Enumeration for the phonebook operation types. /// public enum PhonebookOperationType { /// /// Contact added or updated. /// Update, /// /// Existing contact deleted. /// Delete, /// /// Max value. /// Max } /// /// Enumeration for the storage field types in the 3G Phone book. /// public enum PhonebookFileType3G { /// /// Name. /// Name = 0x01, /// /// Number. /// Number, /// /// First Another number. /// Anr1, /// /// Second Another number. /// Anr2, /// /// Third Another number. /// Anr3, /// /// First Email. /// Email1, /// /// Second Email. /// Email2, /// /// Third Email. /// Email3, /// /// Fourth Email. /// Email4, /// /// Second name entry of the main name. /// Sne, /// /// Group. /// Group, /// /// 1 byte control info and 1 byte hidden info. /// Pbc } /// /// Enumeration for the text encryption type. /// public enum TextEncryptionType { /// /// ASCII Encoding. /// Ascii, /// /// GSM 7 Bit Encoding. /// Gsm7Bit, /// /// UCS2 Encoding. /// Ucs2, /// /// HEX Encoding. /// Hex } /// /// Enumeration for the phonebook access result. /// public enum PhonebookAccessResult { /// /// SIM phonebook operation successful. /// Success, /// /// SIM phonebook operation failure. /// Fail, /// /// The index passed is not a valid index. /// InvalidIndex, /// /// The number length exceeds the max length allowed (or 0). /// InvalidNumberLength, /// /// The name length exceeds the max length allowed (or 0). /// InvalidNameLength, /// /// Access condition for PB file is not satisfied. /// AccessConditionNotSatisfied } }