MMPXCollection Class Reference
MPXCollection
mpxcollectionutility.lib
Public Member Functions |
---|
void | AddL(const CMPXMedia &) |
void | AddSubscriptionL(const CMPXSubscription &) |
void | BackL() |
void | CancelRequest() |
void | ClearSubscriptionsL() |
TUid
| CollectionIDL(TUid &) |
void | CommandL(TMPXCollectionCommand, TInt) |
void | CommandL(CMPXCommand &) |
CMPXFilter * | FilterL() |
void | FindAllL(const CMPXSearchCriteria &, const TArray< TMPXAttribute > &, MMPXCollectionFindObserver &) |
CMPXMedia * | FindAllL(const CMPXSearchCriteria &, const TArray< TMPXAttribute > &) |
void | GetSupportedCapabilitiesL(TCollectionCapability &) |
void | GetSupportedTypesL(RPointerArray< CMPXCollectionType > &) |
TBool
| IsRemote(const CMPXCollectionPath &) |
void | MediaL(const CMPXCollectionPath &, const TArray< TMPXAttribute > &, CMPXAttributeSpecs *, CMPXFilter *) |
void | NotifyL(TMPXCollectionBroadCastMsg, TInt) |
void | OpenL(TMPXOpenMode) |
void | OpenL(TInt, TMPXOpenMode) |
void | OpenL(const CMPXCollectionPath &, TMPXOpenMode) |
void | OpenL(TInt, const TArray< TMPXAttribute > &, TMPXOpenMode) |
void | OpenL(const CMPXCollectionPath &, const TArray< TMPXAttribute > &, TMPXOpenMode) |
void | OpenL(const TArray< TUid > &, TMPXOpenMode) |
void | OpenL(const TUid &, TMPXOpenMode) |
CMPXCollectionPath * | PathL() |
void | RemoveL(const CMPXCollectionPath &, MMPXCollectionRemoveObserver *) |
void | RemoveL(const CMPXMedia &) |
void | RemoveSubscriptionL(const CMPXSubscription &) |
void | SetFilterL(CMPXFilter *) |
void | SetL(const CMPXMedia &) |
void | SetSyncL(const CMPXMedia &) |
TUid
| UidL() |
Member Functions Documentation
AddL(const CMPXMedia &)
void | AddL | ( | const CMPXMedia & | aNewMedia | ) | [pure virtual] |
Adds item(s) to the collection.
Parameters
const CMPXMedia & aNewMedia | new item(s) to add |
AddSubscriptionL(const CMPXSubscription &)
Adds a message subscription for this client.
BackL()
void | BackL | ( | ) | [pure virtual] |
Navigates back to the container of the current items. Calls back MMPXCollectionObserver::HandleOpenL().
CancelRequest()
void | CancelRequest | ( | ) | [pure virtual] |
Stops any async operations that are currently under way.
ClearSubscriptionsL()
void | ClearSubscriptionsL | ( | ) | [pure virtual] |
Removes all message subscriptions for this client.
CollectionIDL(TUid &)
TUid
| CollectionIDL | ( | TUid & | aCollection | ) | [pure virtual] |
CommandL(TMPXCollectionCommand, TInt)
CommandL(CMPXCommand &)
Send a command to the collection server.
FilterL()
Current filter that is applied to collection browsing. i.e. results returned through MMPXCollectionObserver::HandleOpenL() callback from OpenL().
FindAllL(const CMPXSearchCriteria &, const TArray< TMPXAttribute > &, MMPXCollectionFindObserver &)
Find a list of media properties based on a search criteria. The types of supported "queries" are collection dependent. Callback via MMPXCollectionFindObserver::HandleFindL();
FindAllL(const CMPXSearchCriteria &, const TArray< TMPXAttribute > &)
Find a list of media properties based on a search criteria. The types of supported "queries" are collection dependent. This is a SYNCHRONOUS METHOD, use only if necessary.
GetSupportedCapabilitiesL(TCollectionCapability &)
Fetches the capabilities supported by the current collection context.
GetSupportedTypesL(RPointerArray< CMPXCollectionType > &)
Retrieves the list of supported types.
IsRemote(const CMPXCollectionPath &)
Is this path on a 'remote' collection.
- Since
- S60 3.2.3 aPath the collection path
MediaL(const CMPXCollectionPath &, const TArray< TMPXAttribute > &, CMPXAttributeSpecs *, CMPXFilter *)
Retrieve media for the item specified in the path. Note: if selection is set in aPath, HandleMedia will return an array of media of current selected items. if no selection is set in aPath, HandleMedia will return media properities of current item. Calls back MMPXCollectionObserver::HandleMediaL()
NotifyL(TMPXCollectionBroadCastMsg, TInt)
Broadcasts an event to all clients or plugins.
OpenL(TMPXOpenMode)
void | OpenL | ( | TMPXOpenMode | aMode = EMPXOpenDefault | ) | [pure virtual] |
Opens the collection in its current state.
Calls back MMPXCollectionObserver::HandleOpenL() with CMPXMedia object with ID KMPXMediaIdContainer, i.e.contains other media objects.
OpenL(TInt, TMPXOpenMode)
Opens the collection at a specific index.
Calls back MMPXCollectionObserver::HandleOpenL() with CMPXMedia object with ID KMPXMediaIdContainer, i.e.contains other media objects.
Parameters
TInt aIndex | the index into the currently opened item list |
TMPXOpenMode aMode = EMPXOpenDefault | type of open mode |
OpenL(const CMPXCollectionPath &, TMPXOpenMode)
Opens the collection at a specific level.
- Since
- S60 3.2.3
Calls back MMPXCollectionObserver::HandleOpenL()
OpenL(TInt, const TArray< TMPXAttribute > &, TMPXOpenMode)
Opens the collection at a specific index.
Calls back MMPXCollectionObserver::HandleOpenL() with CMPXMedia object with ID KMPXMediaIdContainer, i.e.contains other media objects which will contain the attribute values specified by aAttrs.
OpenL(const CMPXCollectionPath &, const TArray< TMPXAttribute > &, TMPXOpenMode)
Opens the collection at a specific level.
Calls back MMPXCollectionObserver::HandleOpenL() with CMPXMedia object with ID KMPXMediaIdContainer, i.e.contains other media objects which will contain the attribute values specified by aAttrs.
OpenL(const TArray< TUid > &, TMPXOpenMode)
Opens the collection with a list of implementation uids to be matched. If current context matches the criteria, it will return existing browsing media; otherwise it will be back to root level and only plug-ins which match all provided uids will be returned, in priority order.
Calls back MMPXCollectionObserver::HandleOpenL() with CMPXMedia object with ID KMPXMediaIdContainer. Returned plugins will be sorted by plugin priority if mulitple plugins support aUids.
Parameters
const TArray< TUid > & aUids | array of UIDs used to select collection plugins based on supported uids in plugin resource file. |
TMPXOpenMode aMode = EMPXOpenDefault | open mode |
OpenL(const TUid &, TMPXOpenMode)
Opens the collection with an uid to be matched. If current context matches the criteria, it will return existing browsing media; otherwise it will be back to root level and only plug-ins which match the uid will be returned, in priority order.
Calls back MMPXCollectionObserver::HandleOpenL() with CMPXMedia object with ID KMPXMediaIdContainer. Returned plugins will be sorted by plugin priority if mulitple plugins support the uid.
Parameters
const TUid & aUid | single UID used to select a collection |
TMPXOpenMode aMode = EMPXOpenDefault | open mode |
PathL()
The path of the collection in its current state. Ownsership transferred.
RemoveL(const CMPXCollectionPath &, MMPXCollectionRemoveObserver *)
void | RemoveL | ( | const CMPXCollectionPath & | aPath, |
| MMPXCollectionRemoveObserver * | aObs = NULL |
| ) | [pure virtual] |
Remove an item (or items under a group) from the collection
please use CommandL (CMPXCommand)
RemoveL(const CMPXMedia &)
void | RemoveL | ( | const CMPXMedia & | aMedia | ) | [pure virtual] |
Removes item(s) from the collection.
RemoveSubscriptionL(const CMPXSubscription &)
Removes a message subscription for this client.
SetFilterL(CMPXFilter *)
Apply a filter to collection browsing. All subsequent calls to OpenL() will have this filter applied.
Parameters
CMPXFilter * aFilter | the filter to apply, or NULL to remove current filter |
SetL(const CMPXMedia &)
void | SetL | ( | const CMPXMedia & | aMedia | ) | [pure virtual] |
SetSyncL(const CMPXMedia &)
void | SetSyncL | ( | const CMPXMedia & | aMedia | ) | [pure virtual] |
Sets/updates the media for the item. Callback via EMediaChanged message if currently opened.
UidL()
TUid
| UidL | ( | ) | const [pure virtual] |
Returns current collection plugin implementation UID.
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.