/* * 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.CallManager { /// /// Enumeration for Call status. /// public enum CallStatus { /// /// Call is in idle state. /// Idle, /// /// A new call arrived and is ringing or waiting. /// Ringing, /// /// At least one call exist that is in dialing, alerting, active, on hold state. /// OffHook, /// /// Max state. /// Max } /// /// Enumeration for Mute status. /// public enum CallMuteStatus { /// /// Mute state is off. /// Off, /// /// Mute state is on. /// On, /// /// Max status. /// Max } /// /// Enumeration for call dial status. /// public enum DialStatus { /// /// Dial status is success. /// Success = 0, /// /// Dial status is cancel. /// Cancel, /// /// Dial status is fail. /// Fail, /// /// Dial status is fail SS. /// FailSS, /// /// Dial status is fail FDN. /// FailFdn, /// /// Dial status is fail flight mode. /// FailFlightMode } /// /// Enumeration for DTMF indication type. /// public enum DtmfIndication { /// /// DTMF indication type is idle. /// Idle = 0, /// /// DTMF indication type is progressing. /// Progressing, /// /// DTMF indication type is wait. /// Wait } /// /// Enumeration for audio state type. /// public enum AudioState { /// /// None. /// None, /// /// System LoudSpeaker path. /// Speaker, /// /// System Receiver. /// Receiver, /// /// Earjack path. /// EarJack, /// /// System BT Headset path. /// BTHeadset } /// /// Enumeration for video record status. /// public enum VrStatus { /// /// Video recording is started. /// Started = 0, /// /// Video recording is stopped. /// Stopped } /// /// Enumeration for Video record status extra type. /// public enum VrStatusExtraType { /// /// Start. /// Start = 0x00, /// /// Normal recording. /// StartNormal, /// /// Answering message. /// StartAnswerMessage, /// /// Start max. /// StartMax = 0x0f, /// /// Stop. /// Stop = 0x10, /// /// Stop by normal. /// StopByNormal, /// /// Stop by max size. /// StopByMaxSize, /// /// Stop by no free space. /// StopByNoFreeSpace, /// /// Stop by time limit. /// StopByTimeLimit, /// /// Error. /// StopError, /// /// Stop by max. /// StopMax = 0x1f } /// /// Enumeration for call type. /// public enum CallType { /// /// Voice call type. /// Voice, /// /// Video call type. /// Video, /// /// Invalid call type. /// Invalid } /// /// Enumeration for sim slot type. /// public enum MultiSimSlot { /// /// Sim slot 1. /// Slot1, /// /// Sim slot 2. /// Slot2, /// /// Follow system configuration. /// Default } /// /// Enumeration for call answer types for accepting the incoming call. /// public enum CallAnswerType { /// /// Only single call exist, Accept the Incoming call. /// Normal = 0, /// /// Put the active call on hold and accepts the call. /// HoldActiveAndAccept, /// /// Releases the active call and accept the call. /// ReleaseActiveAndAccept, /// /// Releases the held call and accept the call. /// ReleaseHoldAndAccept, /// /// Releases all calls and accept the call. /// ReleaseAllAndAccept } /// /// Enumeration for call upgrade response type while receiving upgrade request. /// public enum CallUpgradeResponseType { /// /// Accept incoming upgrade request. /// Accept, /// /// Reject Incoming upgrade request. /// Reject } /// /// Enumeration for feature(speaker/bluetooth) status. /// public enum FeatureStatus { /// /// On. /// On, /// /// Off. /// Off } /// /// Enumeration for DTMF response type. /// public enum DtmfResponseType { /// /// Cancel. /// Cancel = 0, /// /// Continue. /// Continue } /// /// Enumeration for LCD time out. /// public enum LcdTimeOut { /// /// Set. /// Set = 1, /// /// Unset. /// Unset, /// /// After lock-screen comes in Connected state LCD goes to OFF in 5 secs. /// LockscreenSet, /// /// When Keypad is ON, LCD goes to DIM in 3 secs then goes to OFF in 5 secs. /// KeypadSet, /// /// Default. /// Default } /// /// Enumeration for contact name mode. /// public enum CallNameMode { /// /// None. /// None, /// /// Unknown. /// Unknown, /// /// Private. /// Private, /// /// Payphone. /// PayPhone } /// /// Enumeration for LCD control state. /// public enum LcdControlState { /// /// Off. /// Off = 1, /// /// On. /// On, /// /// On lock. /// OnLock, /// /// On unlock. /// OnUnlock, /// /// Off sleep lock. /// OffSleepLock, /// /// Off sleep unlock. /// OffSleepUnlock } /// /// Enumeration for call event type. /// public enum CallEvent { /// /// Call Idle event. /// Idle = 0, /// /// Call Dialling event. /// Dialing, /// /// Call Active event. /// Active, /// /// Call Held event. /// Held, /// /// Call Alert event. /// Alert, /// /// Call Incoming event. /// Incoming, /// /// Call Waiting event. /// Waiting, /// /// Call Join event. /// Join, /// /// Call Split event. /// Split, /// /// Call Swapped event. /// Swapped, /// /// Call Retrieved event. /// Retrieved, /// /// Sat call control event. /// SatCallControl, /// /// Call upgrade request event. /// UpgradeRequest, /// /// Call downgraded event. /// Downgraded, /// /// Call upgrade success event. /// UpgradeSuccess, /// /// Call upgrade failure event. /// UpgradeFailure, /// /// Call downgrade success event. /// DowngradeSuccess, /// /// Call downgrade failure event. /// DowngradeFailure, /// /// Call confirm upgrade success event. /// ConfirmUpgradeSuccess, /// /// Call confirm upgrade failure event. /// ConfirmUpgradeFailure, /// /// VoWiFi ~ LTE hand-over update event. /// VoWiFiLteHandoverUpdate } /// /// Enumeration for call direction /// public enum CallDirection { /// /// MO call. /// MO, /// /// MT call. /// MT } /// /// Enumeration for the call state. /// public enum CallState { /// /// Call is in idle state. /// Idle, /// /// Call is in connected and conversation state. /// Active, /// /// Call is in held state. /// Held, /// /// Call is in dialing state. /// Dialing, /// /// Call is in alerting state. /// Alert, /// /// Call is in incoming state. /// Incoming, /// /// Call is in answered state, and waiting for connected indication event. /// Waiting } /// /// Enumeration for call domain. /// public enum CallDomain { /// /// CS call domain. /// Cs, /// /// PS call domain. /// Ps, /// /// Wearable call through BT handsfree profile. /// Hfp } /// /// Enumeration for call end cause type. /// public enum CallEndCause { /// /// Call ended. /// Ended, /// /// Call disconnected. /// Disconnected, /// /// Service not allowed. /// ServiceNotAllowed, /// /// Call barred. /// Barred, /// /// No service. /// NoService, /// /// Network busy. /// NwBusy, /// /// Network failed. /// NwFailed, /// /// No answer from other party. /// NoAnswer, /// /// No credit available. /// NoCredit, /// /// Call rejected. /// Rejected, /// /// User busy. /// UserBusy, /// /// Wrong group. /// WrongGroup, /// /// Call not allowed. /// NotAllowed, /// /// Tapi error. /// TapiError, /// /// Call failed. /// Failed, /// /// User not responding. /// NoUserResponding, /// /// User alerting no answer. /// UserAlertingNoAnswer, /// /// Circuit Channel Unavailable,Network is out of Order,Switching equipment congestion,Temporary Failure. /// ServiceTempUnavailable, /// /// Called Party Rejects the Call. /// UserUnavailable, /// /// Entered number is invalid or incomplete. /// InvalidNumberFormat, /// /// Entered number has been changed. /// NumberChanged, /// /// Unassigned/Unallocated number. /// UnassignedNumber, /// /// Called Party does not respond. /// UserDoesNotRespond, /// /// IMEI rejected. /// ImeiRejected, /// /// FDN number only. /// FixedDialingNumberOnly, /// /// SAT call control reject. /// SatCallControlReject, /// /// This number cannot receive video calls. /// CannotReceiveVideoCall } /// /// Enumeration for call release type. /// public enum CallReleaseType { /// /// Release call using given call handle. /// ByCallHandle = 0, /// /// Release all Calls. /// AllCalls, /// /// Releases all hold calls. /// AllHoldCalls, /// /// Releases all active calls. /// AllActiveCalls } }