CRetrieveMobilePhoneBroadcastIdList Class Reference
class CRetrieveMobilePhoneBroadcastIdList : public CAsyncRetrieveWithClientIds |
Reads CBMI list from the phone. This list may be stored on SIM.
Due to the probable time taken to retrieve a list, clients must use an asynchronous approach based around the use of this class.
Inherits from
- CRetrieveMobilePhoneBroadcastIdList
Nested Classes and Structures
Inherited Functions |
---|
| CActive::CActive(TInt) |
| CActive::Cancel() |
| CActive::Deque() |
| CActive::Extension_(TUint,TAny *&,TAny *) |
| CActive::IsActive()const |
| CActive::IsAdded()const |
| CActive::Priority()const |
| CActive::RunError(TInt) |
| CActive::SetActive() |
| CActive::SetPriority(TInt) |
| CActive::~CActive() |
| CAsyncRetrieveVariableLengthBufferV2::CAsyncRetrieveVariableLengthBufferV2() |
| CAsyncRetrieveVariableLengthBufferV2::CompleteIfInUse(TRequestStatus &) |
| CAsyncRetrieveVariableLengthBufferV2::FreeBuffer() |
| CAsyncRetrieveVariableLengthBufferV2::Start(TRequestStatus &,TDes8 *,TDes8 *) |
| CAsyncRetrieveVariableLengthBufferV2::~CAsyncRetrieveVariableLengthBufferV2() |
| CAsyncRetrieveWithClientIds::CAsyncRetrieveWithClientIds(TInt,TInt) |
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
Constructor & Destructor Documentation
CRetrieveMobilePhoneBroadcastIdList(RMobileBroadcastMessaging &)
~CRetrieveMobilePhoneBroadcastIdList()
IMPORT_C | ~CRetrieveMobilePhoneBroadcastIdList | ( | ) | |
The destructor frees all resources owned by the object, prior to its destruction.
Member Functions Documentation
CancelReq(TInt, TInt)
void | CancelReq | ( | TInt | aIpc1, |
| TInt | aIpc2 |
| ) | [private, virtual] |
This method uses the Cancel IPC request within RTelSubsessionBase to send a cancel for one of the asynchronous phases to ETel server
Parameters
TInt aIpc1 | The IPC value of the cancel request |
TInt aIpc2 | The IPC value of the original asynchronous phase request |
ConstructL()
void | ConstructL | ( | ) | [protected] |
Get(TInt, TRequestStatus &, TDes8 &, TDes8 &)
This method uses the Get IPC request within RTelSubsessionBase to send one of the asynchronous phase requests to ETel server
Parameters
TInt aIpc | The IPC value of the asynchronous phase request |
TRequestStatus & aReqStatus | The request status for the asynchronous phase request |
TDes8 & aDes1 | The first parameter for the asynchronous phase request |
TDes8 & aDes2 | The second parameter for the asynchronous phase request |
NewL(RMobileBroadcastMessaging &)
Parameters
RMobileBroadcastMessaging & aMessaging | An instance of RMobileBroadcastMessaging as it is this messaging sub-session that the list retrieval class will operate on. |
RestoreListL()
void | RestoreListL | ( | ) | [protected, virtual] |
This method restores a list from a buffer that contains the streamed version of the list
RetrieveListL()
This member function provides the client with a handle to the list class retrieved from the store. The client will call this member function once Start() has completed with KErrNone.
When the client calls this member function the ownership of the CMobilePhoneBroadcastIdList object will transfer to the client, so the client is then responsible for eventual deletion of this object.
-
leave
- KErrNotFound If there is no valid list object to return to the client.
-
capability
- ReadUserData
Start(TRequestStatus &, RMobileBroadcastMessaging::TMobileBroadcastIdType)
This member function starts the two-phase list retrieval.
Parameters
TRequestStatus & aReqStatus | On completion, the status of the request; KErrNone if successful, KErrNotSupported if the phone does not support access to a phone book broadcast id list store and KErrNotFound if the store does not exist. If the list is empty then KErrNone is returned. |
RMobileBroadcastMessaging::TMobileBroadcastIdType aIdType | Specifies whether to retrieve the GSM/WCDMA list of CBMI entries or the CDMA list of Service Category entries. |
Member Data Documentation
TPckgBuf< TGetBroadcastIdRequest > iBroadcastIdRequestData
RMobileBroadcastMessaging & iMessaging
CMobilePhoneBroadcastIdList * iResults
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.