#include <remcondatabaseunawaremedialibrarybrowse.h>
Link against: remconmediabrowseapi.lib
class MRemConDatabaseUnawareMediaLibraryBrowse |
Public Member Functions | |
---|---|
IMPORT_C void | MrcdumlbFolderDownResult(TUint, TInt) |
IMPORT_C void | MrcdumlbFolderItemResult(const TRemConItemUid &, const TDesC8 &, TFolderItemType, TFolderItemPlayable, const TArray< TMediaElementAttribute > &, TInt) |
IMPORT_C void | MrcdumlbFolderListing(const TArray< TRemConItem > &, TUint) |
IMPORT_C void | MrcdumlbFolderUpResult(TUint, TInt) |
IMPORT_C void | MrcdumlbGetPathResult(TUint, TInt) |
IMPORT_C void | MrcdumlbMediaElementItemResult(const TRemConItemUid &, const TDesC8 &, TMediaItemType, const TArray< TMediaElementAttribute > &, TInt) |
IMPORT_C void | MrcdumlbMediaLibraryStateChange() |
IMPORT_C void | MrcdumlbSearchResult(TUint, TInt) |
Called by the client in response to a MrcdumlboFolderDown() call.
Parameters | |
---|---|
aItemCount | The number of items present in this folder. |
aResult | The result of the MrcdumlboFolderDown() operationKErrNone if the operation was successful.KErrMediaBrowseInvalidDirection if the folder provided is not a valid folder e.g. path A/B/C, the current dirctory is B, and the param provided with MrcdumlboFolderDown()is A, obviously you can not change folder down to A, so A is invalid.KErrMediaBrowseNotADirectory if the UID provided does not refer to a folder item, e.g. it is a media element.KErrInvalidUid if the UID provided is invalid.System wide error code otherwise. |
IMPORT_C void | MrcdumlbFolderItemResult | ( | const TRemConItemUid & | aFolderID, |
const TDesC8 & | aFolderName, | |||
TFolderItemType | aFolderType, | |||
TFolderItemPlayable | aPlayable, | |||
const TArray< TMediaElementAttribute > & | aAttributes, | |||
TInt | aResult | |||
) |
Called by the client in response to MrcdumlboGetItem() call in the case the requested item is a folder item.
Parameters | |
---|---|
aFolderID | The folder UID. |
aFolderName | The folder name. Takes a copy of it. |
aFolderType | The folder type. |
aPlayable | Indicaties whether the folder is playableKFolderNotPlayable the folder can not be playedKFolderPlayable the folder can be played |
aAttributes | The attributes of the folder item requested by MrcdumlboGetItem() |
aResult | The result of the MrcdumlboGetItem() 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 MrcdumlboGetItem() coming.System wide error code otherwise. |
IMPORT_C void | MrcdumlbFolderListing | ( | const TArray< TRemConItem > & | aFolderListing, |
TUint | aResult | |||
) |
Called by the client in response to a MrcdumlboGetFolderListing() call.
Parameters | |
---|---|
aFolderListing | A listing of the items that are in the range requested by the MrcdumlboGetFolderListing() call. |
aResult | The result of the MrcdumlboGetFolderListing() 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 MrcdumlboGetFolderListing() is not valid.System wide error code otherwise. |
Called by the client in response to a MrcdumlboFolderUp call.
Parameters | |
---|---|
aItemCount | The number of items present in this folder. |
aResult | The result of the MrcdumlboFolderUp operation.KErrNone if the operation was successful.System wide error code otherwise. |
Called by the client in response to a MrcdumlboGetPath() call.
Parameters | |
---|---|
aItemCount | The number of items present in this folder. |
aResult | The result of the MrcdumlboGetPath() operationKErrNone if the operation is successful.System wide error code otherwise. |
IMPORT_C void | MrcdumlbMediaElementItemResult | ( | const TRemConItemUid & | aMediaID, |
const TDesC8 & | aMediaName, | |||
TMediaItemType | aMediaType, | |||
const TArray< TMediaElementAttribute > & | aAttributes, | |||
TInt | aResult | |||
) |
Called by the client in response to MrcdumlboGetItem() call in the case the requested item is a media element item.
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 MrcdumlboGetItem() 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 MrcdumlboGetItem() coming.System wide error code otherwise. |
IMPORT_C void | MrcdumlbMediaLibraryStateChange | ( | ) |
Called by the client to indicate changes to the media database in the client.
Called by the client in response to a MrcdumlboSearch() call to indicate that a search has completed.
Parameters | |
---|---|
aNumberItemsFound | The number of items found by the search. |
aResult | The result of the search.KErrNone if the search completed successfullySystem wide error otherwise. |