MRemConDatabaseUnawareNowPlayingBrowse Class Reference

#include <remcondatabaseunawarenowplayingbrowse.h>

Link against: remconmediabrowseapi.lib

class MRemConDatabaseUnawareNowPlayingBrowse
Public Member Functions
IMPORT_C voidMrcdunpbFolderListing(const TArray< TRemConItem > &, TUint)
IMPORT_C voidMrcdunpbMediaElementItemResult(const TRemConItemUid &, const TDesC8 &, TMediaItemType, const TArray< TMediaElementAttribute > &, TInt)

Member Function Documentation

MrcdunpbFolderListing ( const TArray< TRemConItem > &, TUint )

IMPORT_C voidMrcdunpbFolderListing(const TArray< TRemConItem > &aFolderListing,
TUintaResult
)

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

Parameters
aFolderListingA listing of the items that are in the range requested by the MrcdunpboGetFolderListing() 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
aResultThe result of the MrcdunpboGetFolderListing() operation.KErrNone if the operation was successful.KErrMediaBrowseInvalidOffset if there is no media available at the offset of the start item, that is the start of range provided via MrcnptoGetFolderListing() is not valid.System wide error code otherwise.

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

IMPORT_C voidMrcdunpbMediaElementItemResult(const TRemConItemUid &aMediaID,
const TDesC8 &aMediaName,
TMediaItemTypeaMediaType,
const TArray< TMediaElementAttribute > &aAttributes,
TIntaResult
)

Called by the client in response to MrcdunpboGetItem() 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 MrcdunpboGetItem() operation.KErrNone if the operation was successful.KErrInvalidUid if the uid of the item requested is invalid, e.g. the client removed the item before the request MrcdunpboGetItem() coming.System wide error code otherwise.