MRemConDatabaseAwareNowPlayingBrowse Class Reference

#include <remcondatabaseawarenowplayingbrowse.h>

Link against: remconmediabrowseapi.lib

class MRemConDatabaseAwareNowPlayingBrowse
Public Member Functions
IMPORT_C voidMrcdanpbFolderListing(const TArray< TRemConItem > &, TUint16, TUint)
IMPORT_C voidMrcdanpbMediaElementItemResult(const TRemConItemUid &, const TDesC8 &, TMediaItemType, const TArray< TMediaElementAttribute > &, TInt)

Member Function Documentation

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
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
aMediaLibraryStateCookieThe current value of the state cookie.
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
aMediaIDThe media element UID.
aMediaNameThe media name. Takes a copy of it.
aMediaTypeThe media type.
aAttributesThe attributes list. Takes a copy of it.
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.