MGlxMediaListObserver Class Reference

class MGlxMediaListObserver

Observes for changes in media list MPX-specific

Member Functions Documentation

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

voidHandleAttributesAvailableL(TIntaItemIndex,
const RArray< TMPXAttribute > &aAttributes,
MGlxMediaList *aList
)[pure virtual]

Notification that attributes are available

Parameters

TInt aItemIndexIndex of the item for which attributes are available
const RArray< TMPXAttribute > & aAttributesArray of attributes that have become available
MGlxMediaList * aListList that this callback relates to

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

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

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

HandleError(TInt)

voidHandleError(TIntaError)[inline, virtual]

Notification of an error from the collection

Parameters

TInt aErrorError code

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

voidHandleFocusChangedL(NGlxListDefs::TFocusChangeTypeaType,
TIntaNewIndex,
TIntaOldIndex,
MGlxMediaList *aList
)[pure virtual]

Notification that focus has moved

Parameters

NGlxListDefs::TFocusChangeType aTypethe direction of the focus change
TInt aNewIndexthe new index after the focus change
TInt aOldIndexthe old index before the focus change
MGlxMediaList * aListList that this callback relates to

HandleItemAddedL(TInt, TInt, MGlxMediaList *)

voidHandleItemAddedL(TIntaStartIndex,
TIntaEndIndex,
MGlxMediaList *aList
)[pure virtual]

Notification that media items were added to the list

Parameters

TInt aStartIndexFirst item that was added (inserted)
TInt aEndIndexLast item that was added (inserted)
MGlxMediaList * aListList that this callback relates to

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

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

Notification that media items were changed

Parameters

const RArray< TInt > & aItemIndexesIndexes of items that were changed
MGlxMediaList * aListList that this callback relates to

HandleItemRemovedL(TInt, TInt, MGlxMediaList *)

voidHandleItemRemovedL(TIntaStartIndex,
TIntaEndIndex,
MGlxMediaList *aList
)[pure virtual]

Notification that media items were removed from the list

Parameters

TInt aStartIndexFirst item that was removed
TInt aEndIndexLast item that was removed
MGlxMediaList * aListList that this callback relates to

HandleItemSelectedL(TInt, TBool, MGlxMediaList *)

voidHandleItemSelectedL(TIntaIndex,
TBoolaSelected,
MGlxMediaList *aList
)[pure virtual]

Notification that an item has been selected/deselected

Parameters

TInt aIndexIndex of the item that has been selected/deselected
TBool aSelectedBoolean to indicate selection/deselection
MGlxMediaList * aListList that the selection relates to

HandleMediaL(TInt, MGlxMediaList *)

voidHandleMediaL(TIntaListIndex,
MGlxMediaList *aList
)[pure virtual]

Notification that media object is now available for an item

Parameters

TInt aListIndex
MGlxMediaList * aListList that this callback relates to

HandleMessageL(const CMPXMessage &, MGlxMediaList *)

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

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

Parameters

const CMPXMessage & aMessageMessage notification from the collection
MGlxMediaList * aListList that the notification relates to

HandlePopulatedL(MGlxMediaList *)

voidHandlePopulatedL(MGlxMediaList *)[inline, virtual]

Handle media list population.

Parameters

MGlxMediaList *