MVideoRecorderUtilityObserver Class Reference

#include <videorecorder.h>

class MVideoRecorderUtilityObserver
Public Member Functions
pure virtual voidMvruoEvent(const TMMFEvent &)
pure virtual voidMvruoOpenComplete(TInt)
pure virtual voidMvruoPrepareComplete(TInt)
pure virtual voidMvruoRecordComplete(TInt)

Detailed Description

An interface to a set of video recorder callback functions.

The class is a mixin and is intended to be inherited by the client class which is observing the video recording operation. The functions encapsulated by this class are called when specific events occur in the process of initialising and recording a video clip. A reference to this object is passed as a parameter when constructing a video recorder utility object.

Since
7.0s

Member Function Documentation

MvruoEvent ( const TMMFEvent & )

voidMvruoEvent(const TMMFEvent &aEvent)[pure virtual]

General event notification from controller. These events are specified by the supplier of the controller.

ParameterDescription
aEventThe event sent by the controller.

MvruoOpenComplete ( TInt )

voidMvruoOpenComplete(TIntaError)[pure virtual]

Notification to the client that the opening of the video clip has completed, successfully, or otherwise.

ParameterDescription
aErrorThe status of the video recorder after initialisation. This is either KErrNone if the open has completed successfully, or one of the system wide error codes.

MvruoPrepareComplete ( TInt )

voidMvruoPrepareComplete(TIntaError)[pure virtual]

Notification that video recorder is ready to begin recording. This callback is generated in response to a call to Prepare.

ParameterDescription
aErrorThis is either KErrNone if the video recorder has been prepared for recording successfully, or one of the system wide error codes

MvruoRecordComplete ( TInt )

voidMvruoRecordComplete(TIntaError)[pure virtual]

Notification that video recording has completed. This is not called if recording is explicitly stopped by calling Stop.

ParameterDescription
aErrorThis is either KErrNone if recording was completed successfully, or one of the system wide error codes.