#include <mw/MGFetch.h>
class MGFetch |
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 *) |
MGFetch can be used to to fetch media files from third party applications. Supported TMediaFileType's EImageFile, EVideoFile, EAudioFile and EMusicFile.
IMPORT_C TBool | RunL | ( | CDesCArray & | aSelectedFiles, |
TMediaFileType | aMediaType, | |||
TBool | aMultiSelect, | |||
MMGFetchVerifier * | aVerifier = NULL | |||
) | [static] |
Launch media file fetcher for single media type
Parameter | Description |
---|---|
aSelectedFiles | Array to hold selected files |
aMediaType | Defines what media files to fetch |
aMultiSelect | Single or multiple file selection |
aVerifier | Optional verifier for file selection |
Returns: ETrue if user selected file(s), EFalse if cancelled
IMPORT_C TBool | RunL | ( | CDesCArray & | aSelectedFiles, |
TMediaFileType | aMediaType, | |||
TBool | aMultiSelect, | |||
const TDesC & | aSelectionSoftkey, | |||
const TDesC & | aHeading, | |||
MMGFetchVerifier * | aVerifier = NULL | |||
) | [static] |
Launch media file fetcher for single media type
Parameter | Description |
---|---|
aSelectedFiles | Array to hold selected files |
aMediaType | Defines what media files to fetch |
aMultiSelect | Single or multiple file selection |
aSelectionSoftkey | Optional text for left softkey (KNullDesC for default text) |
aHeading | Optional text for popup heading (KNullDesC for default text) |
aVerifier | Optional verifier for file selection |
Returns: ETrue if user selected file(s), EFalse if cancelled
IMPORT_C TBool | RunL | ( | CDesCArray & | aSelectedFiles, |
TMediaFileType | aMediaType, | |||
TBool | aMultiSelect, | |||
const TDesC & | aSelectionSoftkey, | |||
const TDesC & | aHeading, | |||
MDesCArray * | aMimeTypes, | |||
MMGFetchVerifier * | aVerifier = NULL | |||
) | [static] |
Launch media file fetcher for single media type
Parameter | Description |
---|---|
aSelectedFiles | Array to hold selected files |
aMediaType | Defines what media files to fetch |
aMultiSelect | Single or multiple file selection |
aSelectionSoftkey | Optional text for left softkey (KNullDesC for default text) |
aHeading | Optional text for popup heading (KNullDesC for default text) |
aMimeTypes | Optional array containing MIME types of files which are displayed in the fetcher |
aVerifier | Optional verifier for file selection |
Returns: ETrue if user selected file(s), EFalse if cancelled
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
Parameter | Description |
---|---|
aSelectedFiles | Array to hold selected files |
aMediaType | Defines what media files to fetch |
aMultiSelect | Single or multiple file selection |
aSelectionSoftkey | Optional text for left softkey (KNullDesC for default text) |
aHeading | Optional text for popup heading (KNullDesC for default text) |
aMimeTypes | Optional array containing MIME types of files which are displayed in the fetcher |
aCanceler | Reference to canceler interface pointer |
aVerifier | Optional verifier for file selection |
Returns: ETrue if user selected file(s), EFalse if cancelled