MGFetch Class Reference
MGFetch
can be used to to fetch media files from third party applications. Supported TMediaFileType's EImageFile, EVideoFile, EAudioFile and EMusicFile.
Public Member Functions
|
IMPORT_C
TBool
|
RunL
(
CDesCArray
&,
TMediaFileType
,
TBool
,
MMGFetchVerifier
*)
|
IMPORT_C
TBool
|
RunL
(
CDesCArray
&,
TMediaFileType
,
TBool
, const
TDesC
&, const
TDesC
&,
MMGFetchVerifier
*)
|
IMPORT_C
TBool
|
RunL
(
CDesCArray
&,
TMediaFileType
,
TBool
, const
TDesC
&, const
TDesC
&, MDesCArray *,
MMGFetchVerifier
*)
|
IMPORT_C
TBool
|
RunL
(
CDesCArray
&,
TMediaFileType
,
TBool
, const
TDesC
&, const
TDesC
&, MDesCArray *, MMGFetchCanceler *&,
MMGFetchVerifier
*)
|
Member Functions Documentation
RunL(CDesCArray &, TMediaFileType, TBool, MMGFetchVerifier *)
Launch media file fetcher for single media type
-
Since
-
2.0
will leave with KErrNotSupported if plugin for wanted content is not found.
Parameters
CDesCArray
& aSelectedFiles
|
Array to hold selected files
|
TMediaFileType
aMediaType
|
Defines what media files to fetch
|
TBool
aMultiSelect
|
Single or multiple file selection
|
MMGFetchVerifier
* aVerifier = NULL
|
Optional verifier for file selection
|
RunL(CDesCArray &, TMediaFileType, TBool, const TDesC &, const TDesC &, MMGFetchVerifier *)
Launch media file fetcher for single media type
-
Since
-
2.6
will leave with KErrNotSupported if plugin for wanted content is not found.
Parameters
CDesCArray
& aSelectedFiles
|
Array to hold selected files
|
TMediaFileType
aMediaType
|
Defines what media files to fetch
|
TBool
aMultiSelect
|
Single or multiple file selection
|
const
TDesC
& aSelectionSoftkey
|
Optional text for left softkey (KNullDesC for default text)
|
const
TDesC
& aHeading
|
Optional text for popup heading (KNullDesC for default text)
|
MMGFetchVerifier
* aVerifier = NULL
|
Optional verifier for file selection
|
RunL(CDesCArray &, TMediaFileType, TBool, const TDesC &, const TDesC &, MDesCArray *, MMGFetchVerifier *)
Launch media file fetcher for single media type
-
Since
-
2.6
will leave with KErrNotSupported if plugin for wanted content is not found.
Parameters
CDesCArray
& aSelectedFiles
|
Array to hold selected files
|
TMediaFileType
aMediaType
|
Defines what media files to fetch
|
TBool
aMultiSelect
|
Single or multiple file selection
|
const
TDesC
& aSelectionSoftkey
|
Optional text for left softkey (KNullDesC for default text)
|
const
TDesC
& aHeading
|
Optional text for popup heading (KNullDesC for default text)
|
MDesCArray * aMimeTypes
|
Optional array containing MIME types of files which are displayed in the fetcher
|
MMGFetchVerifier
* aVerifier = NULL
|
Optional verifier for file selection
|
RunL(CDesCArray &, TMediaFileType, TBool, const TDesC &, const TDesC &, MDesCArray *, MMGFetchCanceler *&, MMGFetchVerifier *)
IMPORT_C
TBool
|
RunL
|
(
|
CDesCArray
&
|
aSelectedFiles,
|
|
TMediaFileType
|
aMediaType,
|
|
TBool
|
aMultiSelect,
|
|
const
TDesC
&
|
aSelectionSoftkey,
|
|
const
TDesC
&
|
aHeading,
|
|
MDesCArray *
|
aMimeTypes,
|
|
MMGFetchCanceler *&
|
aCanceler,
|
|
MMGFetchVerifier
*
|
aVerifier = NULL
|
|
)
|
[static]
|
Launch media file fetcher for single media type
-
Since
-
2.6
will leave with KErrNotSupported if plugin for wanted content is not found.
Parameters
CDesCArray
& aSelectedFiles
|
Array to hold selected files
|
TMediaFileType
aMediaType
|
Defines what media files to fetch
|
TBool
aMultiSelect
|
Single or multiple file selection
|
const
TDesC
& aSelectionSoftkey
|
Optional text for left softkey (KNullDesC for default text)
|
const
TDesC
& aHeading
|
Optional text for popup heading (KNullDesC for default text)
|
MDesCArray * aMimeTypes
|
Optional array containing MIME types of files which are displayed in the fetcher
|
MMGFetchCanceler *& aCanceler
|
Reference to canceler interface pointer
|
MMGFetchVerifier
* aVerifier = NULL
|
Optional verifier for file selection
|
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.