CPEVideoCallHandling Class Reference
class CPEVideoCallHandling : public CBase
|
Handles video call related events from phone engine
CallHandlingGsm.lib
-
Since
-
Series60_4.0
Public Member Functions
|
|
~CPEVideoCallHandling
()
|
TInt
|
AnswerCall
()
|
TInt
|
CallTerminatedError
(const
TInt
)
|
TBool
|
ConnectedCalls
()
|
TBool
|
DataPortInUse
(
TInt
)
|
TInt
|
DialCall
(const
TPEPhoneNumber
&,
TInt
&)
|
TInt
|
GetCallDuration
(
TTimeIntervalSeconds
&,
TInt
)
|
TInt
|
GetCallInfo
(
RMobileCall::TMobileCallInfoV3
&,
TInt
)
|
TPEState
|
GetCallState
(
TInt
)
|
TInt
|
GetNumberOfCalls
()
|
void
|
HandleInternalMessage
(
TInt
)
|
TInt
|
HangUp
(
TInt
)
|
void
|
InitCall
(
MCCECall
&)
|
TBool
|
IsMultimedia
(
TInt
)
|
TBool
|
IsPhoneNumberAvailable
(const
TInt
)
|
CPEVideoCallHandling
*
|
NewL
(
MPEMessageSender
&, MPEPhoneModelInternal &,
CCCE
&,
CPECallArrayOwner
&)
|
void
|
NotifySystemCallStateChanged
(
MEngineMonitor::TPEMessagesFromPhoneEngine
,
TInt
)
|
TInt
|
RejectCall
()
|
TInt
|
ReleaseAll
()
|
TInt
|
ReplaceActive
(
TInt
)
|
TInt
|
ResumeCall
(
TInt
)
|
void
|
SendErrorMessage
(const
TInt
, const
TInt
)
|
void
|
SendMessage
(const
MEngineMonitor::TPEMessagesFromPhoneEngine
, const
TInt
)
|
void
|
SendMessage
(const
MEngineMonitor::TPEMessagesFromPhoneEngine
, const
TName
&)
|
void
|
StartUp
()
|
TInt
|
SwapCalls
()
|
TInt
|
TerminateAllConnections
()
|
CPESingleCall
*
|
VideoCallById
(
TInt
)
|
CPESingleCall
*
|
VideoCallByState
(
TPEState
)
|
TName
&
|
VideoCallName
(const
TInt
)
|
Constructor & Destructor Documentation
CPEVideoCallHandling(MPEMessageSender &, MPEPhoneModelInternal &, CCCE &, CPECallArrayOwner &)
~CPEVideoCallHandling()
~CPEVideoCallHandling
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CallTerminatedError(const TInt)
TInt
|
CallTerminatedError
|
(
|
const
TInt
|
aCallId
|
)
|
|
Returns call terminated error
ConnectedCalls()
Checks if there are any connected calls
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private
DataPortInUse(TInt)
Checks if the call has reserved serial communications data port for use
DialCall(const TPEPhoneNumber &, TInt &)
GetCallDuration(TTimeIntervalSeconds &, TInt)
Returns call duration time
GetCallInfo(RMobileCall::TMobileCallInfoV3 &, TInt)
Returns information of the data call
GetCallState(TInt)
Get the call state , call identification number
GetNumberOfCalls()
TInt
|
GetNumberOfCalls
|
(
|
)
|
|
Returns the number of non-idle data calls
HandleInternalMessage(TInt)
void
|
HandleInternalMessage
|
(
|
TInt
|
aMessage
|
)
|
|
Parameters
TInt
aMessage
|
specifies the event that has taken place
|
InitCall(MCCECall &)
Initializes a single video call
Parameters
MCCECall
& aCall
|
handle to converged call engine call object
|
IsMultimedia(TInt)
Checks if the data call is a multimedia call
IsPhoneNumberAvailable(const TInt)
TBool
|
IsPhoneNumberAvailable
|
(
|
const
TInt
|
aCallId
|
)
|
|
Checks is phonenumber available
NewL(MPEMessageSender &, MPEPhoneModelInternal &, CCCE &, CPECallArrayOwner &)
NotifySystemCallStateChanged(MEngineMonitor::TPEMessagesFromPhoneEngine, TInt)
Notifies system for changes to the call state.
OpenNewCallL(const TPEPhoneNumber &)
ReleaseAll()
Makes HangUp requests for all calls
ReleaseCallObject(const TInt)
TInt
|
ReleaseCallObject
|
(
|
const
TInt
|
aCallId
|
)
|
[private]
|
Delete's call object and reset's datastore.
ReplaceActive(TInt)
Replace active video call with a waiting video call NOT SUPPORTED AS OF 5.1
ResumeCall(TInt)
Makes resume request to the Multimode ETel
SendErrorMessage(const TInt, const TInt)
void
|
SendErrorMessage
|
(
|
const
TInt
|
aCallId,
|
|
const
TInt
|
aErrorCode
|
|
)
|
|
Reroutes error message to Phone Engine, usable by call objects
Parameters
const
TInt
aCallId
|
Identification number of the call.
|
const
TInt
aErrorCode
|
|
SendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine, const TInt)
Overrides CPEDataCallHandling::SendMessage to provide internal handling for gsm events
SendMessage(const MEngineMonitor::TPEMessagesFromPhoneEngine, const TName &)
SetCallParams(TInt)
void
|
SetCallParams
|
(
|
TInt
|
aCallId
|
)
|
[private]
|
StartUp()
Starts monitoring incoming data calls
SwapCalls()
Swaps connected and held calls
TerminateAllConnections()
TInt
|
TerminateAllConnections
|
(
|
)
|
|
Makes terminate all connection request.
VideoCallByName(const TName &)
Returns data call object by name
VideoCallByState(TPEState)
VideoCallByState(const TPEState)
Returns data call object by state
VideoCallInState(const TPEState &)
TBool
|
VideoCallInState
|
(
|
const
TPEState
&
|
aState
|
)
|
const [private]
|
Checks if there are any data calls in the specified state
VideoCallName(const TInt)
Finds data call name given the call id
Member Data Documentation
CPECallArrayOwner & iCallArrayOwner
CCCECallParameters * iCallOpenParams
CCCE & iConvergedCallEngine
CCCE
&
|
iConvergedCallEngine
|
[private]
|
TName
iDataCallName
TName
|
iDataCallName
|
[private]
|
MPEDataStore & iDataStore
MPEDataStore &
|
iDataStore
|
[private]
|
CPEGprsTermination * iGprsInterface
MPEPhoneModelInternal & iModel
MPEPhoneModelInternal &
|
iModel
|
[private]
|
MPEMessageSender & iOwner
TBool
iRestoreCauseVTCallReject
TBool
|
iRestoreCauseVTCallReject
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.