class CFscContactActionService : public CBase |
Contact Action Service API. Defines an ECom interface for the Contact Action Service.
Public Member Functions | |
---|---|
~CFscContactActionService () | |
const CFscContactActionList & | AllActionsListL ( TUint64 ) |
void | CancelExecute () |
void | CancelQueryActions () |
void | ExecuteL ( TUid , MFscContactActionServiceObserver *) |
CFscContactActionService * | NewL ( CVPbkContactManager &) |
void | QueryActionsL ( MFscContactActionServiceObserver *, TBool , TUint64 , TInt ) |
const CFscContactActionList & | QueryResults () |
void | SetContactSetL (MFscContactLinkIterator *) |
void | SetContactSetL (const RFscStoreContactList &) |
Private Attributes | |
---|---|
TUid | iDtor_ID_Key |
const CFscContactActionList & | AllActionsListL | ( | TUint64 | aActionTypeFlags | ) | const [pure virtual] |
Method for quering all actions from existing action plugins. Unlike QueryActionsL, this doesn't consider contact data but just returns all actions.
TUint64 aActionTypeFlags | Action type flags which are used to filter actions. Use value KFscAtAll to get all. |
void | ExecuteL | ( | TUid | aActionUid, |
MFscContactActionServiceObserver * | aObserver | |||
) | [pure virtual] |
Execute action. Asynchronous. Data is ready when observer's ExecuteComplete mthod is invoked.
TUid aActionUid | uid of action to be executed |
MFscContactActionServiceObserver * aObserver |
CFscContactActionService * | NewL | ( | CVPbkContactManager & | aContactManager | ) | [static, inline] |
Two-phased constructor.
CVPbkContactManager & aContactManager |
void | QueryActionsL | ( | MFscContactActionServiceObserver * | aObserver, |
TBool | aStopWhenOneActionFound = EFalse, | |||
TUint64 | aActionTypeFlags = KFscAtDefault , | |||
TInt | aMinPriority = 0 | |||
) | [pure virtual] |
Method for quering available actions Method searches actions for pre-set contact/group set. Results can be received with QueryResults method. Asynchronous. Data is ready when observer's QueryActionsComplete method is invoked.
MFscContactActionServiceObserver * aObserver | |
TBool aStopWhenOneActionFound = EFalse | stops query when at least one action found. |
TUint64 aActionTypeFlags = KFscAtDefault | Action type flags which are used to filter actions. |
TInt aMinPriority = 0 | Minimum allowed priority for returned actions. |
const CFscContactActionList & | QueryResults | ( | ) | const [pure virtual] |
Return action query results. Empty list is returned if no queries has been done
void | SetContactSetL | ( | MFscContactLinkIterator * | aIterator | ) | [pure virtual] |
Method for setting current contact set to the service.
MFscContactLinkIterator * aIterator | iterator to collection of MVPbkContactLink objects. Collection can contain links to contacts and group. |
void | SetContactSetL | ( | const RFscStoreContactList & | aStoreContactList | ) | [pure virtual] |
Method for setting current contact set to the service.
const RFscStoreContactList & aStoreContactList | collection of MVPbkStoreContact objects. Collection can contain ONLY contacts (no groups). |
TUid | iDtor_ID_Key | [private] |
iDtor_ID_Key Instance identifier key. When instance of an implementation is created by ECOM framework, the framework will assign UID for it. The UID is used in destructor to notify framework that this instance is being destroyed and resources can be released.
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.