CMMFPluginSelectionParameters Class Reference
class CMMFPluginSelectionParameters : public CBase |
Contains the parameters used to select mmf plugins from the ECOM registry.
Inherits from
- CMMFPluginSelectionParameters
Constructor & Destructor Documentation
CMMFPluginSelectionParameters(TUid)
CMMFPluginSelectionParameters | ( | TUid | aPluginInterfaceUid | ) | [protected] |
Protected constructor.
Defaults to setting the TPreferredSupplierMatchType enum to ENoPreferredSupplierMatch and TMediaIdMatchType to ENoMediaIdMatch.
Parameters
TUid aPluginInterfaceUid | The plugin's interface UID. |
~CMMFPluginSelectionParameters()
~CMMFPluginSelectionParameters | ( | ) | [virtual] |
Destructor. Resets and destroys all member data.
Member Functions Documentation
CheckMediaIdSupportL(const CMMFPluginImplementationInformation &)
Tests whether the specified media is supported by the plugin.
InterfaceUid()
IMPORT_C TUid | InterfaceUid | ( | ) | const |
Returns the uid of the interface to be searched for plugin matches.
MediaIdMatchType()
Returns the type of preferred supplier match to perform.
MediaIds()
Returns the list of media IDs that must be supported by the plugin.
PreferredSupplier()
IMPORT_C const TDesC & | PreferredSupplier | ( | ) | const |
Returns the preferred supplier. If no preferred supplier has been set, a blank string will be returned.
PreferredSupplierMatchType()
Returns the type of preferred supplier match to perform.
SetMediaIdsL(const RArray< TUid > &, TMediaIdMatchType)
Sets the media IDs that must be supported by the plugin, for example audio, video etc.
Parameters
const RArray< TUid > & aMediaIds | An array of the media IDs that the selected plugins must support. |
TMediaIdMatchType aMatchType | The type of match to be made. |
SetPreferredSupplierL(const TDesC &, TPreferredSupplierMatchType)
Sets the preferred supplier of the plugin.
Member Enumerations Documentation
Enum TMediaIdMatchType
Describes the type of media ID match to be performed on the plugins return from the ECOM registry.
Enumerators
ENoMediaIdMatch |
No media ID match will be performed.
|
EAllowOtherMediaIds |
All plugins that support the media ID supplied will be returned, even those that support other media IDs. For example, if an audio plugin is requested, plugins that support audio and video will also be returned.
|
EAllowOnlySuppliedMediaIds |
Only plugins that support the exact media IDs supplied will be returned. For example, if an audio plugin is requested, plugins that only support audio will be returned (ie. no audio/video plugins).
|
Enum TPreferredSupplierMatchType
Describes the type of preferred supplier match to be performed on the plugins return from the ECOM registry.
Enumerators
ENoPreferredSupplierMatch |
No preferred supplier match will be performed.
|
EPreferredSupplierPluginsFirstInList |
Plugins from all suppliers will be returned, but those from the preferred supplier will be first in the list.
|
EOnlyPreferredSupplierPluginsReturned |
Only plugins from the preferred supplier will be returned.
|
Member Data Documentation
TMediaIdMatchType
iMediaIdMatchType
TUid
iPluginInterfaceUid
TUid
| iPluginInterfaceUid | [private] |
HBufC * iPreferredSupplier
HBufC * | iPreferredSupplier | [private] |
TPreferredSupplierMatchType
iPreferredSupplierMatchType
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.