| class MGlxMediaListObserver |
Observes for changes in media list MPX-specific
| Public Member Functions | |
|---|---|
| void | HandleAttributesAvailableL ( TInt , const RArray < TMPXAttribute > &, MGlxMediaList *) |
| void | HandleCommandCompleteL ( TAny *, CMPXCommand *, TInt , MGlxMediaList *) |
| void | HandleError ( TInt ) |
| void | HandleFocusChangedL ( NGlxListDefs::TFocusChangeType , TInt , TInt , MGlxMediaList *) |
| void | HandleItemAddedL ( TInt , TInt , MGlxMediaList *) |
| void | HandleItemModifiedL (const RArray < TInt > &, MGlxMediaList *) |
| void | HandleItemRemovedL ( TInt , TInt , MGlxMediaList *) |
| void | HandleItemSelectedL ( TInt , TBool , MGlxMediaList *) |
| void | HandleMediaL ( TInt , MGlxMediaList *) |
| void | HandleMessageL (const CMPXMessage &, MGlxMediaList *) |
| void | HandlePopulatedL ( MGlxMediaList *) |
| void | HandleAttributesAvailableL | ( | TInt | aItemIndex, |
| const RArray < TMPXAttribute > & | aAttributes, | |||
| MGlxMediaList * | aList | |||
| ) | [pure virtual] | |||
Notification that attributes are available
| 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 |
| void | HandleCommandCompleteL | ( | TAny * | , |
| CMPXCommand * | , | |||
| TInt | , | |||
| MGlxMediaList * | ||||
| ) | [inline, virtual] | |||
Handle completion of a asynchronous command Todo: All clients should implement this callback
| TAny * | |
| CMPXCommand * | |
| TInt | |
| MGlxMediaList * |
| void | HandleError | ( | TInt | aError | ) | [inline, virtual] |
Notification of an error from the collection
| TInt aError | Error code |
| void | HandleFocusChangedL | ( | NGlxListDefs::TFocusChangeType | aType, |
| TInt | aNewIndex, | |||
| TInt | aOldIndex, | |||
| MGlxMediaList * | aList | |||
| ) | [pure virtual] | |||
Notification that focus has moved
| 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 |
| void | HandleItemAddedL | ( | TInt | aStartIndex, |
| TInt | aEndIndex, | |||
| MGlxMediaList * | aList | |||
| ) | [pure virtual] | |||
Notification that media items were added to the list
| TInt aStartIndex | First item that was added (inserted) |
| TInt aEndIndex | Last item that was added (inserted) |
| MGlxMediaList * aList | List that this callback relates to |
| void | HandleItemModifiedL | ( | const RArray < TInt > & | aItemIndexes, |
| MGlxMediaList * | aList | |||
| ) | [pure virtual] | |||
Notification that media items were changed
| const RArray < TInt > & aItemIndexes | Indexes of items that were changed |
| MGlxMediaList * aList | List that this callback relates to |
| void | HandleItemRemovedL | ( | TInt | aStartIndex, |
| TInt | aEndIndex, | |||
| MGlxMediaList * | aList | |||
| ) | [pure virtual] | |||
Notification that media items were removed from the list
| TInt aStartIndex | First item that was removed |
| TInt aEndIndex | Last item that was removed |
| MGlxMediaList * aList | List that this callback relates to |
| void | HandleItemSelectedL | ( | TInt | aIndex, |
| TBool | aSelected, | |||
| MGlxMediaList * | aList | |||
| ) | [pure virtual] | |||
Notification that an item has been selected/deselected
| 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 |
| void | HandleMediaL | ( | TInt | aListIndex, |
| MGlxMediaList * | aList | |||
| ) | [pure virtual] | |||
Notification that media object is now available for an item
| TInt aListIndex | |
| MGlxMediaList * aList | List that this callback relates to |
| void | HandleMessageL | ( | const CMPXMessage & | aMessage, |
| MGlxMediaList * | aList | |||
| ) | [pure virtual] | |||
Notification from the collection E.g. Items added/modified/deleted and progress notifications
| const CMPXMessage & aMessage | Message notification from the collection |
| MGlxMediaList * aList | List that the notification relates to |
| void | HandlePopulatedL | ( | MGlxMediaList * | ) | [inline, virtual] |
Handle media list population.
| MGlxMediaList * |
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.