CMediaFileList Class Reference
| class CMediaFileList : public CBase |
Public API for displaying media file list. List is used for selecting/previewing audio and video files.
mediafilelist.lib
- Since
- Series60_5.1
| Public Member Enumerations |
|---|
| enum | TFolderType { EFolderDownload = 0, EFolderVideos } |
| enum | TMediaFileListAttribute { EAttrFileSize = 0, EAttrVolume, EAttrRingingType, EAttrVibra, EAttr3DEffect, EAttr3DEcho, EAttrExcludeMimeType, EAttrAutomatedType, EAttrTitle, EAttrExcludeFolder } |
| enum | TMediaFileType { EMediaFileTypeAudio = 0, EMediaFileTypeVideo } |
| enum | TNullItemIcon { ENullItemIconNone = 0, ENullItemIconDefaultTone, ENullItemIconOff } |
| Private Attributes |
|---|
| CMediaFileDialog * | iDialog |
Constructor & Destructor Documentation
CMediaFileList()
| CMediaFileList | ( | ) | [private] |
~CMediaFileList()
| IMPORT_C | ~CMediaFileList | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
| void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
SetAttrL(TInt, TInt)
| IMPORT_C void | SetAttrL | ( | TInt | aAttr, |
| | TInt | aValue |
| | ) | |
Set Media file list attribute. See enum TMediaFileListAttribute for list of supported attributes.
- Since
- Series60_5.1
Parameters
| TInt aAttr | Attribute id. |
| TInt aValue | Attribute value. |
SetAttrL(TInt, const TDesC &)
| IMPORT_C void | SetAttrL | ( | TInt | aAttr, |
| | const TDesC & | aValue |
| | ) | |
Set Media file list attribute. See enum TMediaFileListAttribute for list of supported attributes.
- Since
- Series60_5.1
Parameters
| TInt aAttr | Attribute id. |
| const TDesC & aValue | Attribute value. |
SetAttrL(TInt, TAny *)
| IMPORT_C void | SetAttrL | ( | TInt | aAttr, |
| | TAny * | aValue |
| | ) | |
Set Media file list attribute. Currently not in use.
- Since
- Series60_5.1
Parameters
| TInt aAttr | Attribute id. |
| TAny * aValue | Attribute value. |
SetNullItemL(const TDesC &, const TDesC &, TInt, TInt)
| IMPORT_C void | SetNullItemL | ( | const TDesC & | aText, |
| | const TDesC & | aMediaFile, |
| | TInt | aMediaFileType, |
| | TInt | aIconId |
| | ) | |
Set Media file list null item. Null items are custom list items that appear at the end of the media file list main view.
- Since
- Series60_5.1
Parameters
| const TDesC & aText | Null item text. |
| const TDesC & aMediaFile | File that is played when null items gets focused. Use KNullDesC if not used. |
| TInt aMediaFileType | Media file type. See enum TMediaFileType for supported media types. |
| TInt aIconId | Null item icon id. See enum TNullItemIcon for supported icons. |
ShowMediaFileListL(TDes *, TInt *, TInt *, TDes *)
Shows Media file list.
- Since
- Series60_5.1
Parameters
| TDes * aFileName | Selected media file name full path. |
| TInt * aNullItem | Selected null item index. Possible values: KErrNotFound - item is not null item or Download item 0 - Download item 1 - first null item 2 - second null item |
| TInt * aInfo | Extra information, set to NULL if not used. |
| TDes * aDesInfo | Extra information, set to KNullDesC if not used. |
Member Enumerations Documentation
Enum TFolderType
Enumerators
| EFolderDownload = 0 | |
| EFolderVideos | |
Enum TMediaFileListAttribute
Enumerators
| EAttrFileSize = 0 | |
| EAttrVolume | |
| EAttrRingingType | |
| EAttrVibra | |
| EAttr3DEffect | |
| EAttr3DEcho | |
| EAttrExcludeMimeType | |
| EAttrAutomatedType | |
| EAttrTitle | |
| EAttrExcludeFolder | |
Enum TMediaFileType
Enumerators
| EMediaFileTypeAudio = 0 | |
| EMediaFileTypeVideo | |
Enum TNullItemIcon
Enumerators
| ENullItemIconNone = 0 | |
| ENullItemIconDefaultTone | |
| ENullItemIconOff | |
Member Data Documentation
CMediaFileDialog * iDialog
| CMediaFileDialog * | iDialog | [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.