MMMFDevVideoRecordObserver Class Reference

#include "devvideorecord.h"

class MMMFDevVideoRecordObserver
Public Member Functions
pure virtual voidMdvroFatalError(TInt)
pure virtual voidMdvroInitializeComplete(TInt)
pure virtual voidMdvroNewBuffers()
pure virtual voidMdvroReturnPicture(TVideoPicture *)
pure virtual voidMdvroStreamEnd()
pure virtual voidMdvroSupplementalInfoSent()

Detailed Description

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

Member Function Documentation

MdvroFatalError ( TInt )

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.

ParameterDescription
aError"The error code."

MdvroInitializeComplete ( TInt )

voidMdvroInitializeComplete(TIntaError)[pure virtual]

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

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

MdvroNewBuffers ( )

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.

ParameterDescription
aPicture"The picture to return."

MdvroStreamEnd ( )

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.

MdvroSupplementalInfoSent ( )

voidMdvroSupplementalInfoSent()[pure virtual]

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