#include <remcondatabaseawarenowplayingbrowse.h>
Link against: remconmediabrowseapi.lib
class MRemConDatabaseAwareNowPlayingBrowse |
Public Member Functions | |
---|---|
IMPORT_C void | MrcdanpbFolderListing(const TArray< TRemConItem > &, TUint16, TUint) |
IMPORT_C void | MrcdanpbMediaElementItemResult(const TRemConItemUid &, const TDesC8 &, TMediaItemType, const TArray< TMediaElementAttribute > &, TInt) |
IMPORT_C void | MrcdanpbFolderListing | ( | const TArray< TRemConItem > & | aFolderListing, |
TUint16 | aMediaLibraryStateCookie, | |||
TUint | aResult | |||
) |
Called by the client in response to a MrcdanpboGetFolderListing() call.
Parameters | |
---|---|
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 |
aMediaLibraryStateCookie | The current value of the state cookie. |
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. |
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 | |
---|---|
aMediaID | The media element UID. |
aMediaName | The media name. Takes a copy of it. |
aMediaType | The media type. |
aAttributes | The attributes list. Takes a copy of it. |
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. |