CNotifyIncomingCallAct Class Reference
class CNotifyIncomingCallAct : public CAsyncRequestBaseAct |
This is an active object responsible for interacting with Multimode ETel.
This active object is owned by the CTelephonyFunctions object and continuously monitors for the the NotifyIncomingCall event. When an incoming call arrives, this AO stores the call name and sends a notification of an incoming call to any observers that want to be notified of this event.
One of the observers of this AO is CAnswerIncomingCallAct. If a client requests to answer an incoming call, the request is only passed on to the tsy (by CAnswerIncomingCallAct) if this AO has sent the notification of an incoming call to it (and has a valid call name available). This ensures that an attempt to answer a call before the call object has been created is not made since the call object is only guaranteed to exist when an incoming call notification has been sent.
Constructor & Destructor Documentation
CNotifyIncomingCallAct(CTelephonyFunctions *)
First-phase constructor which cannot Leave().
Parameters
CTelephonyFunctions * aTelephonyFunctions | Pointer to the CTelephonyFunctions object that created this object. |
~CNotifyIncomingCallAct()
~CNotifyIncomingCallAct | ( | ) | |
Member Functions Documentation
CallName(TName &)
Checks if there is a valid call name available and stores it in aCallName if there is.
Parameters
TName & | Stores the call name of the new incoming call if there is one available. |
Complete()
void | Complete | ( | ) | [protected, virtual] |
Service completed request.
DeregisterObserver(MEventObserver *)
Deregisters an observer with this object. The deregistered observer will no longer be notified when this active object completes. If the observer was registered more than once with this AO, this method will only deregister one of those registrations.
DoCancel()
void | DoCancel | ( | ) | [protected, virtual] |
Cancel NotifyIncomingCall request.
NewL(CTelephonyFunctions *)
Public constructor which can Leave().
-
leave
- Leaves if no memory.
NotifyIncomingCall()
Issue request to be notified of an incoming call so that the call name can be retrieved.
RegisterObserver(MEventObserver *)
Registers an observer with this object. Observers of this AO are AOs owned by CTelephonyFunctions which want to be notified when this AO completes (i.e. of the arrival of an incomingcall).
ResetCallName()
Deletes the contents of iCallName.
RunError()
TInt
| RunError | ( | ) | [protected] |
Handle any Leave() from inside RunL().
Member Enumerations Documentation
Enum TNotifyIncomingCallActState
Enumerators
ENotifyIncomingCallActStateOperating | |
ENotifyIncomingCallActStateCleanUp | |
Member Data Documentation
RPointerArray< MEventObserver > iIncomingCallCompletionObservers
Stores pointers to objects which want to be notified when this object completes.
TNotifyIncomingCallActState
iState
The current state of this active object.
CTelephonyFunctions * iTelephonyFunctions
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.