| class CRemConMediaBrowseTargetBase : public CRemConInterfaceBase |
This interface enables the client to present a heirarchical view of the local media library for browsing by a remote entity.
The view is a virtual filesystem and does not need to correspond directly to any structure on local storage. It could for example map onto a database of media content.
Each item in the media library is identified by a UID. At a minimum this must uniquely identify an element within a folder. For clients that support it the UID can be persistant accross the entire virtual filesystem. In this case a media library state cookie is used to ensure that that state is consistent between the client and the remote device.
This interface does not have NewL()/NewLC, so the client should use the object CRemConDatabaseAwareMediaBrowseTarget or CRemConDatabaseUnawareMediaBrowseTarget to use its exported functions.
This class is only to be used by classes currently derived from it.
CRemConDatabaseAwareMediaBrowseTarget CRemConDatabaseUnawareMediaBrowseTarget
| Protected Member Functions | |
|---|---|
| CRemConMediaBrowseTargetBase (CRemConInterfaceSelector &, MRemConDatabaseAwareMediaLibraryBrowseObserver &, MRemConDatabaseAwareNowPlayingBrowseObserver &, TUint16 ) | |
| CRemConMediaBrowseTargetBase (CRemConInterfaceSelector &, MRemConDatabaseUnawareMediaLibraryBrowseObserver &, MRemConDatabaseUnawareNowPlayingBrowseObserver &) | |
| ~CRemConMediaBrowseTargetBase () | |
| void | BaseConstructL ( TBool ) |
| void | DoFolderDownResult ( TUint , TInt ) |
| void | DoFolderItemResult (const TRemConItemUid &, const TDesC8 &, TFolderItemType , TFolderItemPlayable , const TArray < TMediaElementAttribute > &, TInt ) |
| void | DoFolderListing (const TArray < TRemConItem > &, TUint16 , TInt ) |
| void | DoFolderUpResult ( TUint , TInt ) |
| void | DoGetPathResult ( TUint , TUint16 , TInt ) |
| void | DoMediaElementItemResult (const TRemConItemUid &, const TDesC8 &, TMediaItemType , const TArray < TMediaElementAttribute > &, TInt ) |
| void | DoMediaLibraryStateChange ( TUint16 ) |
| void | DoSearchResult ( TUint , TUint16 , TInt ) |
| Private Attributes | |
|---|---|
| TMediaAttributeIter | iAttributeIterator |
| TBool | iGetFolderListing |
| TBool | iGetItemAttributes |
| RRemConGetPathResponse * | iGetPathResponse |
| RRemConGetFolderItemsResponse * | iGflResponse |
| RRemConGetItemAttributesResponse * | iGiaResponse |
| TBool | iInProgress |
| CRemConInterfaceSelector & | iInterfaceSelector |
| TUint16 | iLastMlscUpdate |
| RArray < TMediaAttributeId > | iMediaAttributeIds |
| TUint16 | iMediaLibraryStateCookie |
| TBool | iMlscUpdatePending |
| TRemConMessageQueue * | iMsgQueue |
| CAsyncCallBack * | iNextItemCallBack |
| CAsyncCallBack * | iNextMessageCallBack |
| RArray < TMediaAttributeId > | iNullArray |
| TMediaAttributeIter | iNullIterator |
| RBuf8 | iOutBuf |
| MRemConDatabaseAwareMediaLibraryBrowseObserver * | iRcdamlbo |
| MRemConDatabaseAwareNowPlayingBrowseObserver * | iRcdanpbo |
| MRemConDatabaseUnawareMediaLibraryBrowseObserver * | iRcdumlbo |
| MRemConDatabaseUnawareNowPlayingBrowseObserver * | iRcdunpbo |
| TRemConFolderScope | iScope |
| TBool | iSearchInProgress |
| RBuf8 | iSearchString |
| TBool | iSearchSupported |
| TBool | iSetAttributeValue |
| CRemConMediaBrowseTargetBase | ( | CRemConInterfaceSelector & | aInterfaceSelector, |
| MRemConDatabaseAwareMediaLibraryBrowseObserver & | aMlObserver, | ||
| MRemConDatabaseAwareNowPlayingBrowseObserver & | aNpObserver, | ||
| TUint16 | aMediaLibraryStateCookie | ||
| ) | [protected] | ||
| CRemConInterfaceSelector & aInterfaceSelector | |
| MRemConDatabaseAwareMediaLibraryBrowseObserver & aMlObserver | |
| MRemConDatabaseAwareNowPlayingBrowseObserver & aNpObserver | |
| TUint16 aMediaLibraryStateCookie |
| CRemConMediaBrowseTargetBase | ( | CRemConInterfaceSelector & | aInterfaceSelector, |
| MRemConDatabaseUnawareMediaLibraryBrowseObserver & | aMlObserver, | ||
| MRemConDatabaseUnawareNowPlayingBrowseObserver & | aNpObserver | ||
| ) | [protected] | ||
| CRemConInterfaceSelector & aInterfaceSelector | |
| MRemConDatabaseUnawareMediaLibraryBrowseObserver & aMlObserver | |
| MRemConDatabaseUnawareNowPlayingBrowseObserver & aNpObserver |
| void | AddToOperationQueue | ( | TUint8 | aPduId, |
| TInt | aOperationId, | |||
| const TDesC8 & | aData | |||
| ) | [private] | |||
| void | BaseConstructL | ( | TBool | aSearchSupported | ) | [protected, virtual] |
| TBool aSearchSupported |
| void | DoAllAttributesCompleted | ( | TInt | aResult | ) | [private] |
Signals that all attributes requested has been supplied.
| TInt aResult |
| TInt | DoAttributeValue | ( | TMediaAttributeId | aAttributeId, |
| const TDesC8 & | aAttributeData | |||
| ) | [private] | |||
Sets an attribute value for the requested item.
| TMediaAttributeId aAttributeId | |
| const TDesC8 & aAttributeData |
| void | DoFolderDownResult | ( | TUint | aItemCount, |
| TInt | aResult | |||
| ) | [protected] | |||
| void | DoFolderItemResult | ( | const TRemConItemUid & | aFolderID, |
| const TDesC8 & | aFolderName, | |||
| TFolderItemType | aFolderType, | |||
| TFolderItemPlayable | aPlayable, | |||
| const TArray < TMediaElementAttribute > & | aAttributes, | |||
| TInt | aResult | |||
| ) | [protected] | |||
| const TRemConItemUid & aFolderID | |
| const TDesC8 & aFolderName | |
| TFolderItemType aFolderType | |
| TFolderItemPlayable aPlayable | |
| const TArray < TMediaElementAttribute > & aAttributes | |
| TInt aResult |
| void | DoFolderListing | ( | const TArray < TRemConItem > & | aFolderListing, |
| TUint16 | aMediaLibraryStateCookie, | |||
| TInt | aResult | |||
| ) | [protected] | |||
| const TArray < TRemConItem > & aFolderListing | |
| TUint16 aMediaLibraryStateCookie | |
| TInt aResult |
| void | DoGetPathResult | ( | TUint | aItemCount, |
| TUint16 | aMediaLibraryStateCookie, | |||
| TInt | aResult | |||
| ) | [protected] | |||
| void | DoMediaElementItemResult | ( | const TRemConItemUid & | aMediaID, |
| const TDesC8 & | aMediaName, | |||
| TMediaItemType | aMediaType, | |||
| const TArray < TMediaElementAttribute > & | aAttributes, | |||
| TInt | aResult | |||
| ) | [protected] | |||
| const TRemConItemUid & aMediaID | |
| const TDesC8 & aMediaName | |
| TMediaItemType aMediaType | |
| const TArray < TMediaElementAttribute > & aAttributes | |
| TInt aResult |
| void | DoMediaLibraryStateChange | ( | TUint16 | aMediaLibraryStateCookie | ) | [protected] |
| TUint16 aMediaLibraryStateCookie |
| void | DoSearchResult | ( | TUint | aNumberItemsFound, |
| TUint16 | aMediaLibraryStateCookie, | |||
| TInt | aResult | |||
| ) | [protected] | |||
| TAny * | GetInterfaceIf | ( | TUid | aUid | ) | [private, virtual] |
Gets a pointer to a specific interface version.
| TUid aUid |
| TInt | ItemAttributesResult | ( | const TArray < TMediaElementAttribute > & | aAttributes | ) | [private] |
| const TArray < TMediaElementAttribute > & aAttributes |
| void | MrcibNewMessage | ( | TUint | aOperationId, |
| const TDesC8 & | aData | |||
| ) | [private] | |||
| TInt | NextItemCallBack | ( | TAny * | aThis | ) | [private, static] |
| TAny * aThis |
| TInt | ParseGetItemAttributesRequest | ( | const TDesC8 & | aData, |
| TRemConFolderScope & | aScope, | |||
| TRemConItemUid & | aItemUid, | |||
| TUint16 & | aMediaLibraryStateCookie | |||
| ) | [private] | |||
| const TDesC8 & aData | |
| TRemConFolderScope & aScope | |
| TRemConItemUid & aItemUid | |
| TUint16 & aMediaLibraryStateCookie |
| void | ProcessChangePath | ( | const TDesC8 & | aData | ) | [private] |
| const TDesC8 & aData |
| void | ProcessFolderItemResult | ( | const TRemConItemUid & | aFolderID, |
| const TDesC8 & | aFolderName, | |||
| TFolderItemType | aFolderType, | |||
| TFolderItemPlayable | aPlayable, | |||
| TInt | aResult | |||
| ) | [private] | |||
| const TRemConItemUid & aFolderID | |
| const TDesC8 & aFolderName | |
| TFolderItemType aFolderType | |
| TFolderItemPlayable aPlayable | |
| TInt aResult |
| void | ProcessGetFolderItems | ( | const TDesC8 & | aData | ) | [private] |
| const TDesC8 & aData |
| void | ProcessGetItemAttributes | ( | const TDesC8 & | aData | ) | [private] |
| const TDesC8 & aData |
| void | ProcessGetItemAttributesResult | ( | const TArray < TMediaElementAttribute > & | aAttributes, |
| TInt | aResult | |||
| ) | [private] | |||
| const TArray < TMediaElementAttribute > & aAttributes | |
| TInt aResult |
| void | ProcessGetPath | ( | const TDesC8 & | aData | ) | [private] |
| const TDesC8 & aData |
| void | ProcessMediaElementItemResult | ( | const TRemConItemUid & | aMediaID, |
| const TDesC8 & | aMediaName, | |||
| TMediaItemType | aMediaType, | |||
| const TArray < TMediaElementAttribute > & | aAttributes, | |||
| TInt | aResult | |||
| ) | [private] | |||
| const TRemConItemUid & aMediaID | |
| const TDesC8 & aMediaName | |
| TMediaItemType aMediaType | |
| const TArray < TMediaElementAttribute > & aAttributes | |
| TInt aResult |
| void | ProcessMediaLibraryStateCookieUpdate | ( | const TDesC8 & | aData | ) | [private] |
| const TDesC8 & aData |
| void | ProcessSearch | ( | const TDesC8 & | aData | ) | [private] |
| const TDesC8 & aData |
| void | SendChangePathResponse | ( | TUint | aItemCount, |
| TInt | aResult | |||
| ) | [private] | |||
| void | SendError | ( | TUint8 | aPduId, |
| TUint | aOperationId, | |||
| TInt | aError | |||
| ) | [private] | |||
| void | SendGetFolderItemsResponse | ( | TInt | aResult, |
| const TDesC8 & | aData | |||
| ) | [private] | |||
| void | SendGetItemAttributesResponse | ( | TInt | aResult, |
| const TDesC8 & | aData | |||
| ) | [private] | |||
| void | SendInternalNotificationResponse | ( | TRemConMessageSubType | aMsgSubType | ) | [private] |
| TRemConMessageSubType aMsgSubType |
| void | SendMediaLibraryStateCookieUpdateResponse | ( | TUint16 | aMediaLibraryStateCookie | ) | [private] |
| TUint16 aMediaLibraryStateCookie |
| void | SendNotificationResponse | ( | TRemConMessageSubType | aMsgSubType | ) | [private] |
| TRemConMessageSubType aMsgSubType |
| void | SendSearchResponse | ( | TInt | aResult, |
| TUint | aNumberItemsFound, | |||
| TUint16 | aMediaLibraryStateCookie | |||
| ) | [private] | |||
| RRemConGetItemAttributesResponse * | iGiaResponse | [private] |
| CRemConInterfaceSelector & | iInterfaceSelector | [private] |
| RArray < TMediaAttributeId > | iMediaAttributeIds | [private] |
| MRemConDatabaseAwareMediaLibraryBrowseObserver * | iRcdamlbo | [private] |
| MRemConDatabaseAwareNowPlayingBrowseObserver * | iRcdanpbo | [private] |
| MRemConDatabaseUnawareMediaLibraryBrowseObserver * | iRcdumlbo | [private] |
| MRemConDatabaseUnawareNowPlayingBrowseObserver * | iRcdunpbo | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.