MCamAppEngineObserver Class Reference

class MCamAppEngineObserver

Camera Application Engine observer class. Mixin base class for the clients of the engine.

CAEENGINE.LIB
Since
2.1

Member Functions Documentation

McaeoInitComplete(TInt)

void McaeoInitComplete ( TInt aError ) [pure virtual]
Called asynchronously when CCaeEngine::Init(), CCaeEngine::PowerOn() , or CCaeEngine::Reserve() completes. Indicates if Camera Application Engine is ready for operation, the camera is reserved and its power is switched on.
Since
2.1

Parameters

TInt aError Error code KErrNone to indicate success or a standard Symbian OS error code.

McaeoSnapImageReady(const CFbsBitmap &, TInt)

void McaeoSnapImageReady ( const CFbsBitmap & aBitmap,
TInt aError
) [pure virtual]
Called asynchronously when CCaeEngine::CaptureStill() is called and snap-image for displaying is ready.
Since
2.1

Parameters

const CFbsBitmap & aBitmap Constant reference to a bitmap set on success for Symbian OS bitmap formats. Does not transfer ownership. Bitmap contents can not be changed.
TInt aError Error code KErrNone to indicate success or a standard Symbian OS error code.

McaeoStillImageReady(CFbsBitmap *, HBufC8 *, TInt)

void McaeoStillImageReady ( CFbsBitmap * aBitmap,
HBufC8 * aData,
TInt aError
) [pure virtual]
Called asynchronously when CCaeEngine::CaptureStill() is called and image for storaging is ready. Depending on the prepared image data format, delivers either Symbian OS bitmap image or an image in another format, not both. The bitmap/the other format image must be used and deleted before returning.
Since
2.1

Parameters

CFbsBitmap * aBitmap Pointer to a bitmap transferring ownership and set on success for Symbian OS bitmap formats.
HBufC8 * aData Pointer to image data transferring ownership and set on success for non-Symbian OS bitmap or other image data formats.
TInt aError Error code KErrNone to indicate success or a standard Symbian OS error code.

McaeoStillPrepareComplete(TInt)

void McaeoStillPrepareComplete ( TInt aError ) [pure virtual]
Called (possibly asynchronously) when preparing of still image capturing completes after PrepareStillCaptureL() has been called.
Since
2.1

Parameters

TInt aError Error code KErrNone to indicate success or a standard Symbian OS error code.

McaeoVideoPrepareComplete(TInt)

void McaeoVideoPrepareComplete ( TInt aError ) [pure virtual]
Called asynchronously when preparing of video recording completes after PrepareVideoRecordingL() has been called. May be called second time with an error code after a successful preparation if video recording loses its prepared state for some reason (e.g. audio HW is reserved for some other application).
Since
2.1

Parameters

TInt aError Error code KErrNone to indicate success or a standard Symbian OS error code.

McaeoVideoRecordingComplete(TInt)

void McaeoVideoRecordingComplete ( TInt aError ) [pure virtual]
Called (possibly asynchronously) when video recording is completed after CCaeEngine::StopVideoRecording() has been called or recording has been completed for some other reason.
Since
2.1

Parameters

TInt aError Error code KErrNone to indicate success or a standard Symbian OS error code. if aError == KErrDiskFull, then disk storage is full. if aError == KErrCompletion, then clip max size was reached.

McaeoVideoRecordingOn(TInt)

void McaeoVideoRecordingOn ( TInt aError ) [pure virtual]
Called (possibly asynchronously) when video recording is running after CCaeEngine::StartVideoRecording() or CCaeEngine::ResumeVideoRecording() has been called.
Since
2.1

Parameters

TInt aError Error code KErrNone to indicate success or a standard Symbian OS error code.

McaeoVideoRecordingPaused(TInt)

void McaeoVideoRecordingPaused ( TInt aError ) [pure virtual]
Called (possibly asynchronously) when video recording is paused after CCaeEngine::PauseVideoRecording() has been called.
Since
2.1

Parameters

TInt aError Error code KErrNone to indicate success or a standard Symbian OS error code.

McaeoVideoRecordingStopped()

void McaeoVideoRecordingStopped ( ) [inline, virtual]
Called asynchronously when video recording is stopped and the CCaeEngine::SetAsyncVideoStopMode() has been enabled. After this client may play sounds etc. while waiting the McaeoVideoRecordingComplete call.
Since
5.0

McaeoVideoRecordingTimes(TTimeIntervalMicroSeconds, TTimeIntervalMicroSeconds, TInt)

void McaeoVideoRecordingTimes ( TTimeIntervalMicroSeconds aTimeElapsed,
TTimeIntervalMicroSeconds aTimeRemaining,
TInt aError
) [pure virtual]
Called asynchronously and repeatedly with timed intervals when video clip recording is running after CCaeEngine::StartVideoRecording() or CCaeEngine::ResumeVideoRecording() has been called. Also, called once by video recording pause operation by CCaeEngine::PauseVideoRecording() and stop operation by CCaeEngine::StopVideoRecording() .
Since
2.1

Parameters

TTimeIntervalMicroSeconds aTimeElapsed Returns recording time elapsed from video recording start.
TTimeIntervalMicroSeconds aTimeRemaining Returns estimated video recording time left limited by storage capacity or max clip size.
TInt aError Error code KErrNone to indicate success or a standard Symbian OS error code.

McaeoViewFinderFrameReady(CFbsBitmap &, TInt)

void McaeoViewFinderFrameReady ( CFbsBitmap & aFrame,
TInt aError
) [pure virtual]
Called asynchronously when a view finder bitmap is ready for display CCaeEngine::StartViewFinderBitmapsL (...) has been called. Called repeatedly until CCaeEngine::StopViewFinder() is called. The bitmap should be drawn synchronously as it will be re-used as soon as this function returns.
Since
2.1

Parameters

CFbsBitmap & aFrame Reference to a bitmap containing view finder data. Does not transfer ownership.
TInt aError Error code KErrNone to indicate success or a standard Symbian OS error code.