CMediaFetchImplementation Class Reference
class CMediaFetchImplementation : public CBase
|
ECom interface for Media Fetch plug-in implementation.
Plug-in implementation used for Media Fetch API functionality is selected based on plug-ins' implementation information.
Media types supported by the plug-in are defined in plug-in resource's default_data. The value must be in hexadecimal format:
LTEXT8 default_data;
Example: default_data = "00000003" if both image (0x00000001) and video (0x00000002) fetchers are supported by the plug-in.
See MediaFileTypes.hrh for supported media types.
If multiple plug-ins support the same media type(s) then the plug-in with the highest version number is selected.
BYTE version_no;
See registryinfov2.rh for ECom resource structure information.
Inherits from
-
CMediaFetchImplementation
Constructor & Destructor Documentation
~CMediaFetchImplementation()
~CMediaFetchImplementation
|
(
|
)
|
[inline, virtual]
|
Member Functions Documentation
GetCancelerL(MMGFetchCanceler *&)
Optional feature. Plug-in should return canceler interface.
-
Since
-
S60 v3.2
LaunchL(CDesCArray &, TMediaFileType)
TBool
|
LaunchL
|
(
|
CDesCArray
&
|
aSelectedFiles,
|
|
TMediaFileType
|
aMediaType
|
|
)
|
[pure virtual]
|
Plug-in should launch fetcher popup for given media type.
-
Since
-
S60 v3.2
Parameters
CDesCArray
& aSelectedFiles
|
plug-in appends selected files to this array
|
TMediaFileType
aMediaType
|
plug-in should display only files with this media type return ETrue if user selected file(s), EFalse if use cancelled.
|
NewL(const TUid &)
Parameters
const
TUid
& aImplementationUid
|
|
SetHeadingL(const TDesC &)
void
|
SetHeadingL
|
(
|
const
TDesC
&
|
aHeading
|
)
|
[pure virtual]
|
Optional feature Plug-in should use given text as heading
-
Since
-
S60 v3.2
Parameters
const
TDesC
& aHeading
|
Custom heading text for fetcher
|
SetMimeTypesL(const MDesCArray &)
void
|
SetMimeTypesL
|
(
|
const MDesCArray &
|
aMimeTypes
|
)
|
[pure virtual]
|
Optional feature.
-
Since
-
S60 v3.2
Parameters
const MDesCArray & aMimeTypes
|
plug-in should show only files with given Mime types
|
SetMultiSelectionL(TBool)
void
|
SetMultiSelectionL
|
(
|
TBool
|
aMultiSelect
|
)
|
[pure virtual]
|
Optional feature. By default fetcher is single selection fetcher. If multi-selection is enabled then plug-in should display a multi-selection fetcher and allow user to select several items.
-
Since
-
S60 v3.2
Parameters
TBool
aMultiSelect
|
if ETrue then multiselection fetcher is enabled
|
SetSelectionSoftkeyL(const TDesC &)
void
|
SetSelectionSoftkeyL
|
(
|
const
TDesC
&
|
aSelectionSoftkey
|
)
|
[pure virtual]
|
Optional feature. Plug-in should use given text as selection key (SK1) label
-
Since
-
S60 v3.2
Parameters
const
TDesC
& aSelectionSoftkey
|
Custom selection softkey label
|
SetVerifierL(MMGFetchVerifier &)
void
|
SetVerifierL
|
(
|
MMGFetchVerifier &
|
aVerifier
|
)
|
[pure virtual]
|
Optional feature. Plug-in should call this interface before selection is done. if MMGFetchVerifier::VerifySelectionL() returns ETrue then the user's selection should be accepted and the fetcher closed. If EFalse is returned then user should change the current selection before it can be accepted and the fetcher closed.
-
Since
-
S60 v3.2
Parameters
MMGFetchVerifier & aVerifier
|
See MMGFetchVerifier.h
|
Member Data Documentation
TUid
iDtor_ID_Key
TUid
|
iDtor_ID_Key
|
[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.