MMMFDevVideoRecordObserver Class Reference

class MMMFDevVideoRecordObserver

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

Member Functions Documentation

MdvroFatalError(TInt)

void MdvroFatalError ( TInt aError ) [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.

Parameters

TInt aError "The error code."

MdvroInitializeComplete(TInt)

void MdvroInitializeComplete ( TInt aError ) [pure virtual]

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

Parameters

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

MdvroNewBuffers()

void MdvroNewBuffers ( ) [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 *)

void MdvroReturnPicture ( TVideoPicture * aPicture ) [pure virtual]

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

Parameters

TVideoPicture * aPicture "The picture to return."

MdvroStreamEnd()

void MdvroStreamEnd ( ) [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()

void MdvroSupplementalInfoSent ( ) [pure virtual]

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