MRemConDatabaseAwareNowPlayingBrowse Class Reference

class MRemConDatabaseAwareNowPlayingBrowse

Member Functions Documentation

MrcdanpbDoFolderListing(const TArray< TRemConItem > &, TUint16, TUint)

void MrcdanpbDoFolderListing ( const TArray < TRemConItem > & aFolderListing,
TUint16 aMediaLibraryStateCookie,
TUint aResult
) [private, pure virtual]

Parameters

const TArray < TRemConItem > & aFolderListing
TUint16 aMediaLibraryStateCookie
TUint aResult

MrcdanpbDoMediaElementItemResult(const TRemConItemUid &, const TDesC8 &, TMediaItemType, const TArray< TMediaElementAttribute > &, TInt)

void MrcdanpbDoMediaElementItemResult ( const TRemConItemUid & aMediaID,
const TDesC8 & aMediaName,
TMediaItemType aMediaType,
const TArray < TMediaElementAttribute > & aAttributes,
TInt aResult
) [private, pure virtual]

Parameters

const TRemConItemUid & aMediaID
const TDesC8 & aMediaName
TMediaItemType aMediaType
const TArray < TMediaElementAttribute > & aAttributes
TInt aResult

MrcdanpbFolderListing(const TArray< TRemConItem > &, TUint16, TUint)

IMPORT_C void MrcdanpbFolderListing ( const TArray < TRemConItem > & aFolderListing,
TUint16 aMediaLibraryStateCookie,
TUint aResult
)

Called by the client in response to a MrcdanpboGetFolderListing() call.

Parameters

const TArray < TRemConItem > & aFolderListing A listing of the items that are in the range requested by the MrcdanpboGetFolderListing() call. If the media player does not natively support a Now Playing folder the listing will only contain one item which is the currently playing media element
TUint16 aMediaLibraryStateCookie The current value of the state cookie.
TUint aResult The result of the MrcdanpboGetFolderListing() operation.KErrNone if the operation was successful.KErrMediaBrowseInvalidOffset if there is no media available at the offset of the start item, i.e. the start of range provided via MrcdanpboGetFolderListing() is not valid.System wide error code otherwise.

MrcdanpbMediaElementItemResult(const TRemConItemUid &, const TDesC8 &, TMediaItemType, const TArray< TMediaElementAttribute > &, TInt)

IMPORT_C void MrcdanpbMediaElementItemResult ( const TRemConItemUid & aMediaID,
const TDesC8 & aMediaName,
TMediaItemType aMediaType,
const TArray < TMediaElementAttribute > & aAttributes,
TInt aResult
)

Called by the client in response to MrcdanpboGetItem() call

Parameters

const TRemConItemUid & aMediaID The media element UID.
const TDesC8 & aMediaName The media name. Takes a copy of it.
TMediaItemType aMediaType The media type.
const TArray < TMediaElementAttribute > & aAttributes The attributes list. Takes a copy of it.
TInt aResult The result of the MrcdanpboGetItem() operation.KErrNone if the operation was successful.KErrInvalidMediaLibraryStateCookie if the media library state cookie does not match the client's state cookie.KErrInvalidUid if the uid of the item requested is invalid, e.g. the client removed the item before the request MrcdanpboGetItem() coming.System wide error code otherwise.