MRemConDatabaseAwareNowPlayingBrowse Class Reference

class MRemConDatabaseAwareNowPlayingBrowse

Member Functions Documentation

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

voidMrcdanpbDoFolderListing(const TArray< TRemConItem > &aFolderListing,
TUint16aMediaLibraryStateCookie,
TUintaResult
)[private, pure virtual]

Parameters

const TArray< TRemConItem > & aFolderListing
TUint16 aMediaLibraryStateCookie
TUint aResult

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

voidMrcdanpbDoMediaElementItemResult(const TRemConItemUid &aMediaID,
const TDesC8 &aMediaName,
TMediaItemTypeaMediaType,
const TArray< TMediaElementAttribute > &aAttributes,
TIntaResult
)[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 voidMrcdanpbFolderListing(const TArray< TRemConItem > &aFolderListing,
TUint16aMediaLibraryStateCookie,
TUintaResult
)

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

Parameters

const TArray< TRemConItem > & aFolderListingA 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 aMediaLibraryStateCookieThe current value of the state cookie.
TUint aResultThe 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 voidMrcdanpbMediaElementItemResult(const TRemConItemUid &aMediaID,
const TDesC8 &aMediaName,
TMediaItemTypeaMediaType,
const TArray< TMediaElementAttribute > &aAttributes,
TIntaResult
)

Called by the client in response to MrcdanpboGetItem() call

Parameters

const TRemConItemUid & aMediaIDThe media element UID.
const TDesC8 & aMediaNameThe media name. Takes a copy of it.
TMediaItemType aMediaTypeThe media type.
const TArray< TMediaElementAttribute > & aAttributesThe attributes list. Takes a copy of it.
TInt aResultThe 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.