MCMRMediaRecorderObserver Class Reference

class MCMRMediaRecorderObserver

Media recorder observer interface

CAMCMEDIARECORDER.LIB
Since
2.1

Member Functions Documentation

MmroFatalError(TInt)

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

Parameters

TInt aErrorError code

MmroPrepareComplete(TInt)

voidMmroPrepareComplete(TIntaError)[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 aErrorError code

MmroStateChange(TInt, TInt)

voidMmroStateChange(TIntaState,
TIntaError
)[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 aStateNew state (CCMRMediaRecorder - TRecorderState)
TInt aErrorError code

MmroTemporaryError(TInt)

voidMmroTemporaryError(TIntaError)[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 aErrorError code