24
|
1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// This file contains all the interfaces classes that can be implemented by
|
|
15 |
// the Licensee LTSY relating to CallControlMultiparty related features.
|
|
16 |
//
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
/**
|
|
22 |
@file
|
|
23 |
@publishedPartner
|
|
24 |
@released
|
|
25 |
*/
|
|
26 |
|
|
27 |
|
|
28 |
#ifndef MLTSYDISPATCHCALLCONTROLMULTIPARTYINTERFACE_H_
|
|
29 |
#define MLTSYDISPATCHCALLCONTROLMULTIPARTYINTERFACE_H_
|
|
30 |
|
|
31 |
#include <ctsy/ltsy/mltsydispatchinterface.h>
|
|
32 |
|
|
33 |
class MLtsyDispatchCallControlMultipartyConferenceHangUp : public MLtsyDispatchInterface
|
|
34 |
{
|
|
35 |
public:
|
|
36 |
|
|
37 |
static const TInt KLtsyDispatchCallControlMultipartyConferenceHangUpApiId = KDispatchCallControlMultipartyFuncUnitId + 1;
|
|
38 |
|
|
39 |
/**
|
|
40 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobileConferenceCallHangUp
|
|
41 |
* request from the CTSY.
|
|
42 |
*
|
|
43 |
* It is a request call that is completed by invoking
|
|
44 |
* CCtsyDispatcherCallback::CallbackCallControlMultipartyConferenceHangUpComp()
|
|
45 |
*
|
|
46 |
* Implementation of this interface should terminate the active conference call.
|
|
47 |
*
|
|
48 |
* @param aCallIds Array of all Call IDs, which belong to the conference.
|
|
49 |
* This array will be destroyed after the function call returns.
|
|
50 |
*
|
|
51 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
52 |
* failure.
|
|
53 |
*
|
|
54 |
* @see RMobileConferenceCall::HangUp()
|
|
55 |
*/
|
|
56 |
virtual TInt HandleConferenceHangUpReqL(const RArray<TInt>& aCallIds) = 0;
|
|
57 |
|
|
58 |
}; // class MLtsyDispatchCallControlMultipartyConferenceHangUp
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
class MLtsyDispatchCallControlMultipartyConferenceAddCall : public MLtsyDispatchInterface
|
|
63 |
{
|
|
64 |
public:
|
|
65 |
|
|
66 |
static const TInt KLtsyDispatchCallControlMultipartyConferenceAddCallApiId = KDispatchCallControlMultipartyFuncUnitId + 2;
|
|
67 |
|
|
68 |
/**
|
|
69 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobileConferenceCallAddCall
|
|
70 |
* request from the CTSY.
|
|
71 |
*
|
|
72 |
* It is a request call that is completed by invoking
|
|
73 |
* CCtsyDispatcherCallback::CallbackCallControlMultipartyConferenceAddCallComp()
|
|
74 |
*
|
|
75 |
* Implementation of this interface should add the specified call to the conference
|
|
76 |
* call. Typically, there will be an ongoing conference call containing at least
|
|
77 |
* 2 remote parties. The conference call gets swapped into the held state and
|
|
78 |
* either a new call is dialled or an incoming call is answered. This call can
|
|
79 |
* then be added to the conference call using this API.
|
|
80 |
*
|
|
81 |
*
|
|
82 |
* @param aCallId The Call ID of the connected call to be added to the multiparty (conference) call.
|
|
83 |
* @param aExistingCallId The Call ID of one of the calls which is already a part of the conference call.
|
|
84 |
* This can be the Call ID of any of the existing calls in the conference, not necessarily the first one that was added.
|
|
85 |
*
|
|
86 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
87 |
* failure.
|
|
88 |
*
|
|
89 |
* @see RMobileconferenceCall::AddCall()
|
|
90 |
*/
|
|
91 |
virtual TInt HandleConferenceAddCallReqL(TInt aCallId, TInt aExistingCallId) = 0;
|
|
92 |
|
|
93 |
}; // class MLtsyDispatchCallControlMultipartyConferenceAddCall
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
class MLtsyDispatchCallControlMultipartyCreateConference : public MLtsyDispatchInterface
|
|
98 |
{
|
|
99 |
public:
|
|
100 |
|
|
101 |
static const TInt KLtsyDispatchCallControlMultipartyCreateConferenceApiId = KDispatchCallControlMultipartyFuncUnitId + 3;
|
|
102 |
|
|
103 |
/**
|
|
104 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobileConferenceCallCreateConference
|
|
105 |
* request from the CTSY.
|
|
106 |
*
|
|
107 |
* It is a request call that is completed by invoking
|
|
108 |
* CCtsyDispatcherCallback::CallbackCallControlMultipartyCreateConferenceComp()
|
|
109 |
*
|
|
110 |
* Implementation of this interface should join the two specified calls into a
|
|
111 |
* multiparty (conference) call.
|
|
112 |
*
|
|
113 |
*
|
|
114 |
* @param aHeldCallId The Call ID of the held call which will be one of the calls
|
|
115 |
* joined to the conference.
|
|
116 |
*
|
|
117 |
* @param aSecondCallId The Call ID of the active / alerting call which will be
|
|
118 |
* the other call joined to the conference.
|
|
119 |
*
|
|
120 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
121 |
* failure.
|
|
122 |
*
|
|
123 |
* @see RMobileConferenceCall::CreateConference()
|
|
124 |
*/
|
|
125 |
virtual TInt HandleCreateConferenceReqL(TInt aHeldCallId, TInt aSecondCallId) = 0;
|
|
126 |
|
|
127 |
}; // class MLtsyDispatchCallControlMultipartyCreateConference
|
|
128 |
|
|
129 |
|
|
130 |
|
|
131 |
class MLtsyDispatchCallControlMultipartyConferenceSwap : public MLtsyDispatchInterface
|
|
132 |
{
|
|
133 |
public:
|
|
134 |
|
|
135 |
static const TInt KLtsyDispatchCallControlMultipartyConferenceSwapApiId = KDispatchCallControlMultipartyFuncUnitId + 4;
|
|
136 |
|
|
137 |
/**
|
|
138 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobileConferenceCallSwap
|
|
139 |
* request from the CTSY.
|
|
140 |
*
|
|
141 |
* It is a request call that is completed by invoking
|
|
142 |
* CCtsyDispatcherCallback::CallbackCallControlMultipartyConferenceSwapComp()
|
|
143 |
*
|
|
144 |
* Implementation of this interface should swap the ongoing conference call and
|
|
145 |
* the other call. If the conference call is on hold,
|
|
146 |
* it will become connected and the other call will be held.
|
|
147 |
*
|
|
148 |
* If it is connected, it will be put on hold and the other call will become
|
|
149 |
* connected.
|
|
150 |
*
|
|
151 |
* @param aHeldCallId The Call ID of the currently held call. If the conference
|
|
152 |
* call is on hold then this will be the call ID of one of the calls in the
|
|
153 |
* conference.
|
|
154 |
*
|
|
155 |
* @param aConnectedCallId The Call ID of the currently connected call.
|
|
156 |
* If the conference call is connected then this will be the call ID of one
|
|
157 |
* of the calls in the conference.
|
|
158 |
*
|
|
159 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
160 |
* failure.
|
|
161 |
*
|
|
162 |
* @see RMobileConferenceCall::Swap()
|
|
163 |
*/
|
|
164 |
virtual TInt HandleConferenceSwapReqL(TInt aHeldCallId, TInt aConnectedCallId) = 0;
|
|
165 |
|
|
166 |
}; // class MLtsyDispatchCallControlMultipartyConferenceSwap
|
|
167 |
|
|
168 |
|
|
169 |
class MLtsyDispatchCallControlMultipartyConferenceGoOneToOne : public MLtsyDispatchInterface
|
|
170 |
{
|
|
171 |
public:
|
|
172 |
|
|
173 |
static const TInt KLtsyDispatchCallControlMultipartyConferenceGoOneToOneApiId = KDispatchCallControlMultipartyFuncUnitId + 5;
|
|
174 |
|
|
175 |
/**
|
|
176 |
* The CTSY Dispatcher shall invoke this function on receiving the EMobileCallGoOneToOne
|
|
177 |
* request from the CTSY.
|
|
178 |
*
|
|
179 |
* It is a request call that is completed by invoking
|
|
180 |
* CCtsyDispatcherCallback::CallbackCallControlMultipartyConferenceGoOneToOneComp()
|
|
181 |
*
|
|
182 |
* Implementation of this interface should setup a private communication with the specified call
|
|
183 |
* in the conference. This call will then become connected when the call status notification
|
|
184 |
* arrives from the LTSY and the other call(s) will go on hold.
|
|
185 |
*
|
|
186 |
* If at the time of the go one-to-one request, there are two remote parties in the conference
|
|
187 |
* call, after the one to one is successful, the other call will go on hold and the conference
|
|
188 |
* will go idle (as there are not enough participants to be a valid conference anymore). If there
|
|
189 |
* are more than two remote parties in the conference call, then the conference call should go
|
|
190 |
* on hold.
|
|
191 |
*
|
|
192 |
* @param aCallId The Call ID of the call which the client wishes to set up a private communication with.
|
|
193 |
* This should be a call currently in the conference.
|
|
194 |
*
|
|
195 |
* @return KErrNone on success, otherwise another error code indicating the
|
|
196 |
* failure.
|
|
197 |
*
|
|
198 |
* @see RMobileCall::GoOneToOne()
|
|
199 |
*/
|
|
200 |
virtual TInt HandleConferenceGoOneToOneReqL(TInt aCallId) = 0;
|
|
201 |
|
|
202 |
}; // class MLtsyDispatchCallControlMultipartyConferenceGoOneToOne
|
|
203 |
|
|
204 |
#endif /*MLTSYDISPATCHCALLCONTROLMULTIPARTYINTERFACE_H_*/
|