MGFetch Class Reference

API published in: S60 2nd Ed

Link against: mgfetch.lib

Capability Information

Required Capabilities

None


#include <mgfetch.h>

Detailed Description

MGFetch can be used to to fetch media files from third party applications.

Static Public Member Functions

static IMPORT_C TBool  RunL (CDesCArray &aSelectedFiles, TMediaFileType aMediaType, TBool aMultiSelect, MMGFetchVerifier *aVerifier=NULL)
  Launch media file fetcher for single media type.
static IMPORT_C TBool  RunL (CDesCArray &aSelectedFiles, TMediaFileType aMediaType, TBool aMultiSelect, const TDesC &aSelectionSoftkey, const TDesC &aHeading, MMGFetchVerifier *aVerifier=NULL)
  Launch media file fetcher for single media type.
static IMPORT_C TBool  RunL (CDesCArray &aSelectedFiles, TMediaFileType aMediaType, TBool aMultiSelect, const TDesC &aSelectionSoftkey, const TDesC &aHeading, MDesCArray *aMimeTypes, MMGFetchVerifier *aVerifier=NULL)
  Launch media file fetcher for single media type.
static IMPORT_C TBool  RunL (CDesCArray &aSelectedFiles, TMediaFileType aMediaType, TBool aMultiSelect, const TDesC &aSelectionSoftkey, const TDesC &aHeading, MDesCArray *aMimeTypes, MMGFetchCanceler *&aCanceler, MMGFetchVerifier *aVerifier=NULL)
  Launch media file fetcher for single media type.

Member Function Documentation

static IMPORT_C TBool MGFetch::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.

Parameters:
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
static IMPORT_C TBool MGFetch::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.

Parameters:
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
static IMPORT_C TBool MGFetch::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.

Parameters:
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
static IMPORT_C TBool MGFetch::RunL CDesCArray &  aSelectedFiles,
TMediaFileType  aMediaType,
TBool  aMultiSelect,
MMGFetchVerifier aVerifier = NULL
[static]
 

Launch media file fetcher for single media type.

Parameters:
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

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top