CFscContactActionMenu Class Reference

class CFscContactActionMenu : public CBase

Contact Action Menu API. Defines an ECom interface for the Contact Action Menu.

Since
S60 3.1

Inherits from

  • CFscContactActionMenu

Constructor & Destructor Documentation

~CFscContactActionMenu()

~CFscContactActionMenu()[inline, virtual]

Destructor.

Member Functions Documentation

Dismiss(TBool)

voidDismiss(TBoolaSlide)[pure virtual]

Dismiss menu Menu gets closed if it was visible when the method was called. Otherwise method call does not do anything

Parameters

TBool aSlideIf ETrue menu slides away from the screen. Otherwise it disappears instantly

ExecuteL(TFscContactActionMenuPosition, TInt, MFsActionMenuPositionGiver *)

TFscActionMenuResult ExecuteL(TFscContactActionMenuPositionaPosition = EFscCenter,
TIntaIndex = 0,
MFsActionMenuPositionGiver *aPositionGiver = 0
)[pure virtual]

Execute Action Menu ExecuteL opens Action Menu with current item set. Method is synchronous and it will return when Action Menu is closed.

Parameters

TFscContactActionMenuPosition aPosition = EFscCenterVertical position where menu is to be openned
TInt aIndex = 0Index of focused/highlighted item when menu is opened
MFsActionMenuPositionGiver * aPositionGiver = 0

FocusedItem()

CFscContactActionMenuItem &FocusedItem()[pure virtual]

Return selected menu item object.

FocusedItemIndex()

TInt FocusedItemIndex()[pure virtual]

Return index of highlighted item

Model()

MFscContactActionMenuModel &Model()[pure virtual]

Return a reference to Action Menu's model

NewL(CFscContactActionService &, TFscContactActionMenuMode, TBool)

CFscContactActionMenu *NewL(CFscContactActionService &aService,
TFscContactActionMenuModeaMode = EFscContactActionMenuModeNormal,
TBoolaOpenedFromMR = EFalse
)[static, inline]

Two-phased constructor.

Parameters

CFscContactActionService & aServiceReference to Contact Action Service.
TFscContactActionMenuMode aMode = EFscContactActionMenuModeNormalMenu mode In EFscContactActionMenuModeNormal mode Action Menu works like a normal modal dialog. In EFscContactActionMenuModeAI mode number key events close the menu without consuming the events. AI Mode is intended to be used in Active Idle when it must be possible to start an emergency call while Action Menu is open
TBool aOpenedFromMR = EFalse

SetOpenedFromMR(TBool)

voidSetOpenedFromMR(TBoolaOpenedFromMR)[pure virtual]

Set whether or not the menu is opened from meeting request.

Parameters

TBool aOpenedFromMRETrue, if the menu is opened from Meeting request.

Member Data Documentation

TUid iDtor_ID_Key

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.