CMediaRecognizer Class Reference
class CMediaRecognizer : public CBase |
Private Member Functions |
---|
| CMediaRecognizer() |
void | ConstructL() |
void | CreateAudioFormatsArrayL(RMMFControllerImplInfoArray &) |
void | CreateVideoFormatsArrayL(RMMFControllerImplInfoArray &) |
TBool
| FileHandleExists() |
TBool
| FileHasAudioSupport(const TDesC &, TDataRecognitionResult &, RMMFControllerImplInfoArray &, RMMFControllerImplInfoArray &) |
TBool
| FileHasVideoSupportL(const TDesC &, TDataRecognitionResult &, RMMFControllerImplInfoArray &) |
TMediaType
| MediaTypeL(const TDesC &) |
TInt
| ReadFile(const TDesC &, TDes8 &, TInt) |
TInt
| ReadFileViaNewFileHandle(const TDesC &, TDes8 &, TInt) |
void | RecognizeFileL(const TDesC &, TDataRecognitionResult &) |
Constructor & Destructor Documentation
CMediaRecognizer()
CMediaRecognizer | ( | ) | [private] |
~CMediaRecognizer()
IMPORT_C | ~CMediaRecognizer | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
CreateAudioFormatsArrayL(RMMFControllerImplInfoArray &)
Creates array to hold all the controller plugins that support audio.
- Since
- 2.0
CreateVideoFormatsArrayL(RMMFControllerImplInfoArray &)
Creates array to hold all the controller plugins that support video.
- Since
- 2.0
FileHandleExists()
TBool
| FileHandleExists | ( | ) | [private] |
Determines presence of file handle.
- Since
- 3.0
FileHasAudioSupport(const TDesC &, TDataRecognitionResult &, RMMFControllerImplInfoArray &, RMMFControllerImplInfoArray &)
Checks if there is audio playback support.
- Since
- 2.0
FileHasVideoSupportL(const TDesC &, TDataRecognitionResult &, RMMFControllerImplInfoArray &)
Checks if there is video playback support.
- Since
- 2.0
FreeFilehandle()
IMPORT_C void | FreeFilehandle | ( | ) | |
Frees recognizer's filehandle.
- Since
- 3.0
IdentifyMediaTypeL(const TDesC &, TBool)
Recognizes media type.
- Since
- 2.0
Parameters
const TDesC & aMediaName | Media file name or Url |
TBool aIncludeUrls = EFalse | Are Urls included or not |
IdentifyMediaTypeL(const TDesC &, RFile &, TBool)
Recognizes media type.
- Since
- 3.0
Parameters
const TDesC & aMediaName | Media file name or Url |
RFile & aFile | file handle |
TBool aIncludeUrls = EFalse | Are Urls included or not |
IsValidStreamingPrefix(const TDesC &)
IMPORT_C TBool | IsValidStreamingPrefix | ( | const TDesC & | aUrl | ) | |
IsValidUrlPrefix(const TDesC &)
IsValidUrlPrefix(const TDesC8 &)
MediaTypeL(const TDesC &)
Recognizes media type for non-url type
MimeTypeL(const TDesC &)
Recognizes Media files MimeType.
- Since
- 2.0
Parameters
const TDesC & aLocalFile | File name |
MimeTypeL(RFile &)
Recognizes Media files MimeType.
- Since
- 3.0
ReadFile(const TDesC &, TDes8 &, TInt)
Reads local file to buffer
- Since
- 2.0
ReadFileViaNewFileHandle(const TDesC &, TDes8 &, TInt)
TInt
| ReadFileViaNewFileHandle | ( | const TDesC & | aFileName, |
| TDes8 & | aBuf, |
| TInt | aBufSize |
| ) | [private] |
Reads local file to buffer using new
RFile handle
- Since
- 9.2
RecognizeFileL(const TDesC &, TDataRecognitionResult &)
Recognizes local file
- Since
- 2.0
Member Enumerations Documentation
Enum TMediaType
Enumerators
ELocalVideoFile | |
ELocalAudioFile | |
ELocalRamFile | |
ELocalSdpFile | |
EUrl | |
ELocalAudioPlaylist | |
EProgressiveDownload | |
EFlashVideoFile | |
ELocalAsxFile | |
EUnidentified | |
Member Data Documentation
RFile
iFileHandle
RFile
| iFileHandle | [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.