A class for fetching xSP Contacts. Operations are asynchronous and accept two observers. One used to signal completion and return result. Another one used to signal an error if operation fails.
A client fetch xSP contactlinks for given contact.
class CxSPContactsClient : public CActive, public MVPbkOperationErrorObserver, public MVPbkOperationResultObserver<MVPbkContactLinkArray*> ...
void CxSPContactsClient::FetchxSPLinksL() { ixSPManager = CVPbkxSPContacts::NewL( iContactManager ); ixSPContactOperation = ixSPManager->GetxSPContactLinksL(*iContact, *this, *this); }
//From MVPbkOperationErrorObserver void CxSPContactsClient::VPbkOperationFailed( MVPbkContactOperationBase*, TInt aError ) { ... }