MCCPCall Class Reference
All common methods for different calls. Events, errors, status notifications etc are received via
MCCPCallObserver
class
Constructor & Destructor Documentation
~MCCPCall()
~MCCPCall
|
(
|
)
|
[protected, inline, virtual]
|
Protected destructor. Object cannot be deleted from plug-in client (CCE).
-
Since
-
S60 3.2
Member Functions Documentation
AddObserverL(const MCCPCallObserver &)
Adds a new observer for
MCCECall
object. Called in MT call case. In MO case observer will be given at call construction.
-
Since
-
S60 v3.2
-
leave
-
system error if observer adding fails.
Answer()
TInt
|
Answer
|
(
|
)
|
[pure virtual]
|
Cancel()
TInt
|
Cancel
|
(
|
)
|
[pure virtual]
|
Called by CCE instead of HangUp when Dial has been called and state change to
MCCPCallObserver::ECCPStateConnecting
has not been received. Cancels the last ongoing request. Used for Dial only. Not supported for other actions. If the request cannot be started then an error will be returned immediately as return value. In succesfull case KErrNone will be returned and the requested action has been started.
-
Since
-
S60 3.2
-
Pre-condition
-
MCCPCall::Dial
has been called and call state is MCCPCallObserver::ECCPIdle
Caps()
Returns call control caps for this call. This tells for CCE what call can currently do.
-
Since
-
S60 3.2
Dial()
TInt
|
Dial
|
(
|
)
|
[pure virtual]
|
Starts dialing to recipient. Recipient was set at call creation. If the request cannot be started then an error will be returned immediately as return value. In succesfull case KErrNone will be returned and the requested action has been started.
-
Pre-condition
-
Call state is
MCCPCallObserver::ECCPStateIdle
and call type is MO.
-
Since
-
S60 3.2
DialledParty()
const
TDesC
&
|
DialledParty
|
(
|
)
|
const [pure virtual]
|
Returns the original dialled party. The original number (e.g. including DTMF) dialled for an outgoing call. Can be different than returned from
MCCPCall::RemoteParty()
.
-
Since
-
S60 3.2
ForwardProviderL(const MCCPForwardObserver &)
Get forward provider. Must return the already created object if called again after initial creation.
-
Since
-
Series 60 3.2
-
leave
-
On error case, system error code.
HangUp()
TInt
|
HangUp
|
(
|
)
|
[pure virtual]
|
Ends an ongoing call. Does not delete the call. Call is deleted when
CConvergedCallProvider::ReleaseCall
is called. If the request cannot be started then an error will be returned immediately as return value. In succesfull case KErrNone will be returned and the requested action has been started.
-
Pre-condition
-
Call state is not
MCCPCallObserver::ECCPStateIdle
.
-
Since
-
S60 3.2
Hold()
TInt
|
Hold
|
(
|
)
|
[pure virtual]
|
Puts call on hold. If the request cannot be started then an error will be returned immediately as return value. In succesfull case KErrNone will be returned and the requested action has been started.
-
Pre-condition
-
Call state is
MCCPCallObserver::ECCPStateConnected
or
MCCPCallObserver::ECCPStateTransferring
. Transferring state is allowed only if previous state before transferring state was on-hold.
-
Since
-
S60 3.2
IsCallForwarded()
TBool
|
IsCallForwarded
|
(
|
)
|
const [pure virtual]
|
Return boolean value if the call is forwarded or not.
-
Since
-
S60 3.2
IsMobileOriginated()
TBool
|
IsMobileOriginated
|
(
|
)
|
const [pure virtual]
|
Returns boolean value if the call is mobile originated or not.
-
Since
-
S60 3.2
IsSecured()
TBool
|
IsSecured
|
(
|
)
|
const [pure virtual]
|
Get call's secure status.
-
Since
-
Series 60 3.2
Parameters()
Cet call parameters.
-
Since
-
S60 3.2
Queue()
TInt
|
Queue
|
(
|
)
|
[pure virtual]
|
Reguests plug-in to queue the call. If the request cannot be started then an error will be returned immediately as return value. In succesfull case KErrNone will be returned and the requested action has been started. In case call waiting is temporarily not supported when called returns not ready indication.
-
Pre-condition
-
Call state is
MCCPCallObserver::ECCPStateIdle
.
-
Post-condition
-
When succesfull, call state is changed to
MCCPCallObserver::ECCPStateQueued
.
-
If queueing is not supported by the plug-in call is disconnected by the plug-in.
-
Since
-
S60 3.2
Reject()
TInt
|
Reject
|
(
|
)
|
[pure virtual]
|
RemoteParty()
const
TDesC
&
|
RemoteParty
|
(
|
)
|
const [pure virtual]
|
Returns the remote party number or address of the call. In case returned remote party value is KNullDesC it means the remote party is regarded as anonymous.
-
Since
-
S60 3.2
RemotePartyName()
const
TDesC
&
|
RemotePartyName
|
(
|
)
|
[pure virtual]
|
Returns the remote party name of the call.
-
Since
-
S60 5.0
RemoveObserver(const MCCPCallObserver &)
Remove an observer.
-
Since
-
S60 v3.2
Resume()
TInt
|
Resume
|
(
|
)
|
[pure virtual]
|
Resume previously held call. If the request cannot be started then an error will be returned immediately as return value. In succesfull case KErrNone will be returned and the requested action has been started.
-
Pre-condition
-
Call state is
MCCPCallObserver::ECCPStateHold
.
-
Since
-
S60 3.2
Ringing()
TInt
|
Ringing
|
(
|
)
|
[pure virtual]
|
Indicate call is ringning. If the request cannot be started then an error will be returned immediately as return value. In succesfull case KErrNone will be returned and the requested action has been started. Optionally ringing state can be set for MO call too.
-
Pre-condition
-
Call state is
MCCPCallObserver::ECCPStateIdle
.
-
Since
-
S60 3.2
SecureSpecified()
TBool
|
SecureSpecified
|
(
|
)
|
const [pure virtual]
|
Return if call secure status is specified or not.
-
Since
-
Series 60 5.0
SetParameters(const CCCPCallParameters &)
Set call parameters.
-
Since
-
S60 3.2
State()
Returns the state of the call.
-
Since
-
S60 3.2
Swap()
TInt
|
Swap
|
(
|
)
|
[pure virtual]
|
Swaps the call between Hold and Resume. If the request cannot be started then an error will be returned immediately as return value. In succesfull case KErrNone will be returned and the requested action has been started.
-
Pre-condition
-
Call state is
MCCPCallObserver::ECCPStateHold
or
MCCPCallObserver::ECCPStateConnected
.
-
Since
-
S60 3.2
Tone()
TCCPTone
|
Tone
|
(
|
)
|
const [pure virtual]
|
Returns the inband tone associated to an error condition or a state transition of a call. See defenition for TCCPTone.
-
Since
-
S60 3.2
TransferProviderL(const MCCPTransferObserver &)
Get transfer provider. Must return the already created object if called again after initial creation.
-
Since
-
Series 60 3.2
-
leave
-
On error case, system error code.
Uid()
TUid
|
Uid
|
(
|
)
|
const [pure virtual]
|
Returns UID of the plug-in used for this call
-
Since
-
S60 3.2
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.