2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 namespace Tizen.CallManager
20 /// Enumeration for Call status.
22 public enum CallStatus
25 /// Call is in idle state.
29 /// A new call arrived and is ringing or waiting.
33 /// At least one call exist that is in dialing, alerting, active, on hold state.
43 /// Enumeration for Mute status.
45 public enum CallMuteStatus
48 /// Mute state is off.
62 /// Enumeration for call dial status.
64 public enum DialStatus
67 /// Dial status is success.
71 /// Dial status is cancel.
75 /// Dial status is fail.
79 /// Dial status is fail SS.
83 /// Dial status is fail FDN.
87 /// Dial status is fail flight mode.
93 /// Enumeration for DTMF indication type.
95 public enum DtmfIndication
98 /// DTMF indication type is idle.
102 /// DTMF indication type is progressing.
106 /// DTMF indication type is wait.
112 /// Enumeration for audio state type.
114 public enum AudioState
121 /// System LoudSpeaker path.
133 /// System BT Headset path.
139 /// Enumeration for video record status.
144 /// Video recording is started.
148 /// Video recording is stopped.
154 /// Enumeration for Video record status extra type.
156 public enum VrStatusExtraType
163 /// Normal recording.
167 /// Answering message.
183 /// Stop by max size.
187 /// Stop by no free space.
191 /// Stop by time limit.
205 /// Enumeration for call type.
218 /// Invalid call type.
224 /// Enumeration for sim slot type.
226 public enum MultiSimSlot
237 /// Follow system configuration.
243 /// Enumeration for call answer types for accepting the incoming call.
245 public enum CallAnswerType
248 /// Only single call exist, Accept the Incoming call.
252 /// Put the active call on hold and accepts the call.
256 /// Releases the active call and accept the call.
258 ReleaseActiveAndAccept,
260 /// Releases the held call and accept the call.
262 ReleaseHoldAndAccept,
264 /// Releases all calls and accept the call.
270 /// Enumeration for call upgrade response type while receiving upgrade request.
272 public enum CallUpgradeResponseType
275 /// Accept incoming upgrade request.
279 /// Reject Incoming upgrade request.
285 /// Enumeration for feature(speaker/bluetooth) status.
287 public enum FeatureStatus
300 /// Enumeration for DTMF response type.
302 public enum DtmfResponseType
315 /// Enumeration for LCD time out.
317 public enum LcdTimeOut
328 /// After lock-screen comes in Connected state LCD goes to OFF in 5 secs.
332 /// When Keypad is ON, LCD goes to DIM in 3 secs then goes to OFF in 5 secs.
342 /// Enumeration for contact name mode.
344 public enum CallNameMode
365 /// Enumeration for LCD control state.
367 public enum LcdControlState
390 /// Off sleep unlock.
396 /// Enumeration for call event type.
398 public enum CallEvent
405 /// Call Dialling event.
409 /// Call Active event.
417 /// Call Alert event.
421 /// Call Incoming event.
425 /// Call Waiting event.
433 /// Call Split event.
437 /// Call Swapped event.
441 /// Call Retrieved event.
445 /// Sat call control event.
449 /// Call upgrade request event.
453 /// Call downgraded event.
457 /// Call upgrade success event.
461 /// Call upgrade failure event.
465 /// Call downgrade success event.
469 /// Call downgrade failure event.
473 /// Call confirm upgrade success event.
475 ConfirmUpgradeSuccess,
477 /// Call confirm upgrade failure event.
479 ConfirmUpgradeFailure,
481 /// VoWiFi ~ LTE hand-over update event.
483 VoWiFiLteHandoverUpdate
487 /// Enumeration for call direction
489 public enum CallDirection
502 /// Enumeration for the call state.
504 public enum CallState
507 /// Call is in idle state.
511 /// Call is in connected and conversation state.
515 /// Call is in held state.
519 /// Call is in dialing state.
523 /// Call is in alerting state.
527 /// Call is in incoming state.
531 /// Call is in answered state, and waiting for connected indication event.
537 /// Enumeration for call domain.
539 public enum CallDomain
550 /// Wearable call through BT handsfree profile.
556 /// Enumeration for call end cause type.
558 public enum CallEndCause
565 /// Call disconnected.
569 /// Service not allowed.
589 /// No answer from other party.
593 /// No credit available.
609 /// Call not allowed.
621 /// User not responding.
625 /// User alerting no answer.
627 UserAlertingNoAnswer,
629 /// Circuit Channel Unavailable,Network is out of Order,Switching equipment congestion,Temporary Failure.
631 ServiceTempUnavailable,
633 /// Called Party Rejects the Call.
637 /// Entered number is invalid or incomplete.
641 /// Entered number has been changed.
645 /// Unassigned/Unallocated number.
649 /// Called Party does not respond.
659 FixedDialingNumberOnly,
661 /// SAT call control reject.
663 SatCallControlReject,
665 /// This number cannot receive video calls.
667 CannotReceiveVideoCall
671 /// Enumeration for call release type.
673 public enum CallReleaseType
676 /// Release call using given call handle.
680 /// Release all Calls.
684 /// Releases all hold calls.
688 /// Releases all active calls.