/* * 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 SS class type. /// public enum SsClass { /// /// All Teleservices. /// AllTele = 0x10, /// /// Voice (Telephony). /// Voice = 0x11, /// /// All Data Teleservices. /// AllDataTele = 0x12, /// /// Fax Service. /// Fax = 0x13, /// /// SMS Service. /// Sms = 0x16, /// /// Voice Group Call Service. /// Vgcs = 0x17, /// /// Voice Broadcast. /// Vbs = 0x18, /// /// All teleservices except SMS. /// AllTeleExceptSms = 0x19, /// /// All Bearer services. /// AllBearer = 0x20, /// /// All Async services. /// AllAsync = 0x21, /// /// All Sync services. /// AllSync = 0x22, /// /// All Circuit switched sync services. /// AllCsSync = 0x24, /// /// All Circuit switched async services. /// AllCsAsync = 0x25, /// /// All Dedicated Packet Access. /// AllDedicatedPacketAccess = 0x26, /// /// All Dedicated PAD Access. /// AllDedicatedPadAccess = 0x27, /// /// All Data CDA. /// AllDataCda = 0x28, /// /// All PLMN specific teleservices. /// PlmnTeleAll = 0x50, /// /// PLMN specific teleservice 1. /// PlmnTele1 = 0x51, /// /// PLMN specific teleservice 2. /// PlmnTele2 = 0x52, /// /// PLMN specific teleservice 3. /// PlmnTele3 = 0x53, /// /// PLMN specific teleservice 4. /// PlmnTele4 = 0x54, /// /// PLMN specific teleservice 5. /// PlmnTele5 = 0x55, /// /// PLMN specific teleservice 6. /// PlmnTele6 = 0x56, /// /// PLMN specific teleservice 7. /// PlmnTele7 = 0x57, /// /// PLMN specific teleservice 8. /// PlmnTele8 = 0x58, /// /// PLMN specific teleservice 9. /// PlmnTele9 = 0x59, /// /// PLMN specific teleservice 10. /// PlmnTeleA = 0x60, /// /// PLMN specific teleservice 11. /// PlmnTeleB = 0x61, /// /// PLMN specific teleservice 12. /// PlmnTeleC = 0x62, /// /// PLMN specific teleservice 13. /// PlmnTeleD = 0x63, /// /// PLMN specific teleservice 14. /// PlmnTeleE = 0x64, /// /// PLMN specific teleservice 15. /// PlmnTeleF = 0x65, /// /// All PLMN specific bearer services. /// PlmnBearAll = 0x70, /// /// PLMN specific bearer service 1. /// PlmnBear1 = 0x71, /// /// PLMN specific bearer service 2. /// PlmnBear2 = 0x72, /// /// PLMN specific bearer service 3. /// PlmnBear3 = 0x73, /// /// PLMN specific bearer service 4. /// PlmnBear4 = 0x74, /// /// PLMN specific bearer service 5. /// PlmnBear5 = 0x75, /// /// PLMN specific bearer service 6. /// PlmnBear6 = 0x76, /// /// PLMN specific bearer service 7. /// PlmnBear7 = 0x77, /// /// PLMN specific bearer service 8. /// PlmnBear8 = 0x78, /// /// PLMN specific bearer service 9. /// PlmnBear9 = 0x79, /// /// PLMN specific bearer service 10. /// PlmnBearA = 0x80, /// /// PLMN specific bearer service 11. /// PlmnBearB = 0x81, /// /// PLMN specific bearer service 12. /// PlmnBearC = 0x82, /// /// PLMN specific bearer service 13. /// PlmnBearD = 0x83, /// /// PLMN specific bearer service 14. /// PlmnBearE = 0x84, /// /// PLMN specific bearer service 15. /// PlmnBearF = 0x85, /// /// Auxiliary Voice (Auxiliary telephony). /// AuxVoice = 0x89, /// /// All GPRS bearer services. /// AllGprsBearer = 0x99, /// /// All tele and bearer services. /// AllTeleBearer = 0xFF } /// /// Enumeration for various types of call barring. /// public enum SsBarringType { /// /// Barring All Outgoing Calls. /// Baoc = 0x01, /// /// Barring Outgoing International Calls. /// Boic, /// /// Barring Outgoing International Calls except Home Country. /// BoicNotHc, /// /// Barring All Incoming Calls. /// Baic, /// /// Barring Incoming Calls when roaming outside the Home Country. /// BicRoam, /// /// All Barring Services. /// Ab, /// /// All Outgoing Barring Services. /// Aob, /// /// All Incoming Barring Services. /// Aib, /// /// Barring Incoming Calls which is not stored in the SIM memory. /// BicNotSim, /// /// Maximum Barring type. /// Max } /// /// Enumeration for the CLI service type. /// public enum SsCliType { /// /// Calling Line Identification Presentation. /// Clip = 0x01, /// /// Calling Line Identification Restriction. /// Clir = 0x02, /// /// Connected Line Identification Presentation. 3GPP(GSM/UMTS/LTE) Specific. /// Colp = 0x03, /// /// Connected Line Identification Restriction. 3GPP(GSM/UMTS/LTE) Specific. /// Colr = 0x04, /// /// Called Line Identification Presentation. 3GPP(GSM/UMTS/LTE) Specific. /// Cdip = 0x05, /// /// Calling Name Presentation. 3GPP(GSM/UMTS/LTE) Specific. /// Cnap = 0x06 } /// /// Enumeration for the CLI service status. /// public enum SsCliStatus { /// /// Service not provided by the service provider. /// NotProvisioned = 0x01, /// /// Service is provided by the service provider. /// Provisioned, /// /// Service is activated at the network. /// Activated, /// /// Service status is unknown. /// Unknown, /// /// Service is temporarily restricted. /// TempRestricted, /// /// Service is temporarily allowed. /// TempAllowed } /// /// Enumeration for the call forwarding condition. /// public enum SsForwardCondition { /// /// Call Forwarding Unconditional. /// Unconditional = 0x01, /// /// Call Forwarding Mobile Busy. /// MobileBusy, /// /// Call Forwarding No Reply. /// NoReply, /// /// Call Forwarding Not Reachable. /// NotReachable, /// /// All Call Forwarding. /// All, /// /// All Conditional Call Forwarding. /// AllConditional, /// /// Max. /// Max } /// /// Enumeration for the USSD type. Applicable to 3GPP(GSM/UMTS/LTE) only. /// public enum SsUssdType { /// /// USSD request type - User Initiated. /// UserInit = 0x01, /// /// USSD request type - User Response. /// UserResponse, /// /// USSD request type - User Release. /// UserRelease } /// /// Enumeration for the status of a supplementary service feature (e.g. call forwarding or call barring). /// /// /// These enumerated values should be used as masks. /// public enum SsStatus { /// /// Provisioned and registered (but not active/active-quiescent). /// Registered = 0x01, /// /// Provisioned but not registered (or active/active-quiescent). /// Provisioned, /// /// Provisioned and registered and active. /// Active, /// /// Provisioned and registered and active but quiescent. /// Quiescent, /// /// Not provisioned. /// Nothing } /// /// Enumeration for no-reply time. Applicable to 3GPP(GSM/UMTS/LTE) only. /// public enum SsNoReplyTime { /// /// Timer value set to 5secs. /// Time5Secs = 5, /// /// Timer value set to 10secs. /// Time10Secs = 10, /// /// Timer value set to 15secs. /// Time15Secs = 15, /// /// Timer value set to 20secs. /// Time20Secs = 20, /// /// Timer value set to 25secs. /// Time25Secs = 25, /// /// Timer value set to 30secs. /// Time30Secs = 30 } /// /// Enumeration for the call forwarding type of number. /// public enum SsForwardTypeOfNumber { /// /// Unknown. /// Unknown = 0, /// /// International number. /// International = 1, /// /// National number. /// National = 2, /// /// Network specific number. /// NetworkSpecific = 3, /// /// Subscriber number. /// DedicatedAccess = 4, /// /// Alphanumeric, GSM 7-bit default alphabet. /// AlphaNumeric = 5, /// /// Abbreviated number. /// AbbreviatedNumber = 6, /// /// Reserved for extension. /// ReservedForExt = 7 } /// /// Enumeration for the call forward numbering plan identity. /// public enum SsForwardNumberingPlanIdentity { /// /// Unknown. /// Unknown = 0, /// /// ISDN/Telephone numbering plan. /// IsdnTel = 1, /// /// Data numbering plan. /// DataNumPlan = 3, /// /// Telex numbering plan. /// Telex = 4, /// /// Service Center Specific plan. /// ServiceCenterSpecificPlan = 5, /// /// Service Center Specific plan2. /// ServiceCenterSpecificPlan2 = 6, /// /// National numbering plan. /// National = 8, /// /// Private numbering plan. /// Private = 9, /// /// ERMES numbering plan. /// ErmesNumPlan = 10, /// /// Reserved for extension. /// ReservedForExt = 0xF } /// /// Enumeration for the supplementary service request results. /// public enum SsCause { /// /// SS operation is successful. /// Success = 0x0, /// /// SS error indicating unknown/illegal subscriber /// UnknownSubscriber = 0x01, /// /// This error is returned when illegality of the access has been established by use of an authentication procedure. /// IllegalSubscriber = 0x09, /// /// The network returns this error when it is requested to perform an operation on a supplementary service. /// BearerServiceNotProvisioned = 0x0a, /// /// The network returns this error when it is requested to perform an operation on a supplementary service. /// TeleServiceNotProvisioned = 0x0b, /// /// This error is returned when the IMEI check procedure has shown that the IMEI is blacklisted or it is not whitelisted. /// IllegalEquipment = 0x0c, /// /// This error is returned by the network to the MS when call independent subscriber control procedures are barred by the operator. /// CallBarred = 0x0d, /// /// This error is returned by the network when it is requested to perform an illegal operation which is defined as not applicable for the relevant supplementary service. /// IllegalSsOperation = 0x10, /// /// This error is returned by the network when it is requested to perform an operation which is not compatible with the current status of the relevant supplementary service. /// ErrorStatus = 0x11, /// /// SS not available in the network. /// Unavailable = 0x12, /// /// SS service subscription violation. /// SubscriptionViolation = 0x13, /// /// This error is returned by the network when it is requested for a supplementary service operation that is incompatible with the status of another supplementary service or with the teleservice or bearer service for which the operation is requested. /// Incompatibility = 0x14, /// /// SS service facility not supported. /// FacilityNotSupported = 0x15, /// /// This error is returned when the subscriber has activated the detach service or the system detects the absence condition. /// AbsentSubscriber = 0x1b, /// /// This error is returned by the network, when it cannot perform an operation because of a failure in the network. /// SystemFailure = 0x22, /// /// This error is returned by the network when an optional parameter is missing in an invoke component or an inner data structure, while it is required by the context of the request. /// DataMissing = 0x23, /// /// SS error indicating an unexpected data value on the network side. /// UnexpectedDataValue = 0x24, /// /// SS error indicating a change password failure. /// PasswordRegistrationFailure = 0x25, /// /// SS error indicating a negative password check. /// NegativePasswordCheck = 0x26, /// /// SS error indicating violation in barring password attempts. /// PasswordAttemptsViolation = 0x2b, /// /// SS error indicating unknown SS data coding of an alphabet. /// UnknownAlphabet = 0x47, /// /// SS error indicating USSD Busy(Already SS / USSD is ongoing). /// UssdBusy = 0x48, /// /// SS error indicating Dialing number is not FDN. /// FdnOnly = 0x5F, /// /// SS operation rejected by the user. /// RejectedByUser = 0x79, /// /// SS operation rejected by the network. /// RejectedByNetwork = 0x7a, /// /// This error is returned if a diversion to the served subscriber's number is requested. /// DeflectionToServedSubscriber = 0x7b, /// /// This error is returned if a diversion to a special service code is requested. /// SpecialServiceCode = 0x7c, /// /// SS error indicating invalid deflected to a number. /// InvalidDeflectedToNumber = 0x7d, /// /// SS error indicating Maximum MPTY is reached. /// MaxMptyExceeded = 0x7e, /// /// SS error indicating resources not available in the network. /// ResourceUnavailable = 0x7f, /// /// SS error indicating resources not available in the network. /// RejectedByCallControl = 0x80, /// /// SS operation timer expired on the network. /// TimerExpire, /// /// SS operation is not allowed by the network. /// NotAllowed, /// /// SS error indicating an unknown error. /// UnknownError, /// /// If OEM does not support any SS requests, then this error will be returned. /// OemNotSupported } /// /// Enumeration for SS info type. /// public enum SsInfoType { /// /// Barring. /// Barring = 0x00, /// /// Forwarding. /// Forwarding, /// /// Waiting. /// Waiting, /// /// CLI. /// Cli, /// /// Send Ussd. /// SendUssd, /// /// Max value. /// Max } /// /// Enumeration for the call barring operation mode. /// public enum SsBarringMode { /// /// Activate call barring. /// Activate, /// /// Deactivate call barring. /// Deactivate } /// /// Enumeration for the forward mode. /// public enum SsForwardMode { /// /// Deactivate call forwarding. /// Disable, /// /// Activate call forwarding. /// Enable, /// /// Register call forwarding. /// Registration, /// /// Deregister call forwarding. /// Erasure } /// /// Enumeration for the call waiting mode. /// public enum SsCallWaitingMode { /// /// Activate call waiting. /// Activate, /// /// Deactivate call waiting. /// Deactivate } /// /// Enumeration for the types of identity presentation / restriction services. /// public enum SsLineIdentificationType { /// /// Identify the party calling this phone. /// CallingLinePresentation = 0x01, /// /// Hide the identity of this phone when calling others. /// CallingLineRestriction, /// /// Identify the party to whom the calling party (this phone) is connected. 3GPP(GSM/UMTS/LTE) Specific. /// ConnectedLinePresentation, /// /// Restrict yourself from being identified by incoming calls, such as forwarded calls. 3GPP(GSM/UMTS/LTE) Specific. /// ConnectedLineRestriction, /// /// Called line identity presentation. 3GPP(GSM/UMTS/LTE) Specific. /// CalledLinePresentation, /// /// Calling Name Presentation. 3GPP(GSM/UMTS/LTE) Specific. /// CallingNamePresentation } /// /// Enumeration for the USSD indication type. Applicable to 3GPP(GSM/UMTS/LTE) only. /// public enum SsUssdStatus { /// /// Notify : to display USSD data to the user. /// Notify = 0x00, /// /// No further user action required. /// NoActionRequire = 0x01, /// /// Further user action required. /// ActionRequire = 0x02, /// /// USSD terminated by the network. /// TerminatedByNetwork = 0x03, /// /// Other local client has responded. /// OtherClient = 0x04, /// /// Operation not supported. /// NotSupport = 0x05, /// /// Time out when there is no response from the network. /// TimeOut = 0x06 } }