MCMRMediaRecorderObserver Class Reference

class MCMRMediaRecorderObserver

Media recorder observer interface

CAMCMEDIARECORDER.LIB
Since
2.1

Member Functions Documentation

MmroFatalError(TInt)

void MmroFatalError ( TInt aError ) [pure virtual]
Informs the user about a fatal runtime error (e.g. OOM). MediaRecorder must be deleted and recreated.
Since
2.1

Parameters

TInt aError Error code

MmroPrepareComplete(TInt)

void MmroPrepareComplete ( TInt aError ) [pure virtual]
Informs the user that PrepareL() has been completed with or without errors. If aError != KErrNone, media recorder remains in open state
Since
2.1

Parameters

TInt aError Error code

MmroStateChange(TInt, TInt)

void MmroStateChange ( TInt aState,
TInt aError
) [pure virtual]
Informs the user about a state change. Useful to find out when a new prepare is needed after a setting was changed
Since
2.1

Parameters

TInt aState New state (CCMRMediaRecorder - TRecorderState)
TInt aError Error code

MmroTemporaryError(TInt)

void MmroTemporaryError ( TInt aError ) [pure virtual]
Informs the user about a temporary runtime error. Recording can't continue right now but it may be possible to continue later (e.g. audio HW was taken by a higher priority application)
Since
2.1

Parameters

TInt aError Error code