MMMFDevVideoRecordObserver Class Reference

class MMMFDevVideoRecordObserver

The MMMFDevVideoObserver class defines the observer mixin-interface that any client using CMMFDevVideoRecord must implement.

Member Functions Documentation


voidMdvroFatalError(TIntaError)[pure virtual]

Reports a fatal encoding or capturing error to the client. When these errors occur, capturing and encoding is stopped automatically. The client must destroy the CMMFDevVideoRecord object and create a new instance before attempting to continue. Note that scenarios have been identified where MdvroFatalError may get referenced at some point during the execution of a CMMFDevVideoRecord procedure. Therefore CMMFDevVideoRecord object should be deleted outside of MdvroFatalError context in order to avoid accidental access to de-allocated CMMFDevVideoRecord data members.


TInt aError"The error code."


voidMdvroInitializeComplete(TIntaError)[pure virtual]

Reports that DevVideoRecord initialization has completed. The interface can now be used for video recording.


TInt aError"Initialization error code, KErrNone if no error occurred."


voidMdvroNewBuffers()[pure virtual]

Notifies the client that one or more new output buffers are available. The client can then use NextBufferL() and related methods to fetch the data.

MdvroReturnPicture(TVideoPicture *)

voidMdvroReturnPicture(TVideoPicture *aPicture)[pure virtual]

Returns a used input video picture back to the caller. The picture memory can be re-used or freed.


TVideoPicture * aPicture"The picture to return."


voidMdvroStreamEnd()[pure virtual]

Reports that the input video data end has been reached and all pictures have been processed. This method is only called after the client has called InputEnd(). No more output data will be available.


voidMdvroSupplementalInfoSent()[pure virtual]

Signals that the supplemental info send request has completed. The buffer used for supplemental information can be re-used or freed.