MGlxMediaListObserver Class Reference

class MGlxMediaListObserver

Observes for changes in media list MPX-specific

Member Functions Documentation

HandleAttributesAvailableL(TInt, const RArray< TMPXAttribute > &, MGlxMediaList *)

void HandleAttributesAvailableL ( TInt aItemIndex,
const RArray < TMPXAttribute > & aAttributes,
MGlxMediaList * aList
) [pure virtual]

Notification that attributes are available

Parameters

TInt aItemIndex Index of the item for which attributes are available
const RArray < TMPXAttribute > & aAttributes Array of attributes that have become available
MGlxMediaList * aList List that this callback relates to

HandleCommandCompleteL(TAny *, CMPXCommand *, TInt, MGlxMediaList *)

void HandleCommandCompleteL ( TAny * ,
CMPXCommand * ,
TInt ,
MGlxMediaList *
) [inline, virtual]

Handle completion of a asynchronous command Todo: All clients should implement this callback

HandleError(TInt)

void HandleError ( TInt aError ) [inline, virtual]

Notification of an error from the collection

Parameters

TInt aError Error code

HandleFocusChangedL(NGlxListDefs::TFocusChangeType, TInt, TInt, MGlxMediaList *)

void HandleFocusChangedL ( NGlxListDefs::TFocusChangeType aType,
TInt aNewIndex,
TInt aOldIndex,
MGlxMediaList * aList
) [pure virtual]

Notification that focus has moved

Parameters

NGlxListDefs::TFocusChangeType aType the direction of the focus change
TInt aNewIndex the new index after the focus change
TInt aOldIndex the old index before the focus change
MGlxMediaList * aList List that this callback relates to

HandleItemAddedL(TInt, TInt, MGlxMediaList *)

void HandleItemAddedL ( TInt aStartIndex,
TInt aEndIndex,
MGlxMediaList * aList
) [pure virtual]

Notification that media items were added to the list

Parameters

TInt aStartIndex First item that was added (inserted)
TInt aEndIndex Last item that was added (inserted)
MGlxMediaList * aList List that this callback relates to

HandleItemModifiedL(const RArray< TInt > &, MGlxMediaList *)

void HandleItemModifiedL ( const RArray < TInt > & aItemIndexes,
MGlxMediaList * aList
) [pure virtual]

Notification that media items were changed

Parameters

const RArray < TInt > & aItemIndexes Indexes of items that were changed
MGlxMediaList * aList List that this callback relates to

HandleItemRemovedL(TInt, TInt, MGlxMediaList *)

void HandleItemRemovedL ( TInt aStartIndex,
TInt aEndIndex,
MGlxMediaList * aList
) [pure virtual]

Notification that media items were removed from the list

Parameters

TInt aStartIndex First item that was removed
TInt aEndIndex Last item that was removed
MGlxMediaList * aList List that this callback relates to

HandleItemSelectedL(TInt, TBool, MGlxMediaList *)

void HandleItemSelectedL ( TInt aIndex,
TBool aSelected,
MGlxMediaList * aList
) [pure virtual]

Notification that an item has been selected/deselected

Parameters

TInt aIndex Index of the item that has been selected/deselected
TBool aSelected Boolean to indicate selection/deselection
MGlxMediaList * aList List that the selection relates to

HandleMediaL(TInt, MGlxMediaList *)

void HandleMediaL ( TInt aListIndex,
MGlxMediaList * aList
) [pure virtual]

Notification that media object is now available for an item

Parameters

TInt aListIndex
MGlxMediaList * aList List that this callback relates to

HandleMessageL(const CMPXMessage &, MGlxMediaList *)

void HandleMessageL ( const CMPXMessage & aMessage,
MGlxMediaList * aList
) [pure virtual]

Notification from the collection E.g. Items added/modified/deleted and progress notifications

Parameters

const CMPXMessage & aMessage Message notification from the collection
MGlxMediaList * aList List that the notification relates to

HandlePopulatedL(MGlxMediaList *)

void HandlePopulatedL ( MGlxMediaList * ) [inline, virtual]

Handle media list population.

Parameters

MGlxMediaList *