MGlxFetchContext Class Reference

class MGlxFetchContext

MGlxFetchContext

Interface that allows clients to define which media items should be retrieved and which properties for them

none

Member Functions Documentation

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

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

Lists all attributes that a required for a particular item in the list. Ignores whether the attributes have been loaded or not. This function is used for garbage collection, in order to know if an attribute is still in use.

Parameters

const MGlxMediaList * aListthe list for which the call relates to
TInt aListIndexthe index in the list of the particular item
RArray< TMPXAttribute > & aAttributes

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

TInt AttributeRequestL(const MGlxMediaList *aList,
RArray< TInt > &aItemIndices,
RArray< TMPXAttribute > &aAttributes,
CMPXAttributeSpecs *&aDetailedSpecs
)const [pure virtual]

Specifies which attributes should be fetched for a particular item in the list.

Parameters

const MGlxMediaList * aListthe list for which the request relates to
RArray< TInt > & aItemIndices
RArray< TMPXAttribute > & aAttributes
CMPXAttributeSpecs *& aDetailedSpecs

RequestCountL(const MGlxMediaList *)

TInt RequestCountL(const MGlxMediaList *aList)const [pure virtual]

Provides the number of items with currently outstanding requests

Parameters

const MGlxMediaList * aListthe list for which the call relates to