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)

voidMcaeoInitComplete(TIntaError)[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 aErrorError code KErrNone to indicate success or a standard Symbian OS error code.

McaeoSnapImageReady(const CFbsBitmap &, TInt)

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

Parameters

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

McaeoStillImageReady(CFbsBitmap *, HBufC8 *, TInt)

voidMcaeoStillImageReady(CFbsBitmap *aBitmap,
HBufC8 *aData,
TIntaError
)[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 * aBitmapPointer to a bitmap transferring ownership and set on success for Symbian OS bitmap formats.
HBufC8 * aDataPointer to image data transferring ownership and set on success for non-Symbian OS bitmap or other image data formats.
TInt aErrorError code KErrNone to indicate success or a standard Symbian OS error code.

McaeoStillPrepareComplete(TInt)

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

Parameters

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

McaeoVideoPrepareComplete(TInt)

voidMcaeoVideoPrepareComplete(TIntaError)[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 aErrorError code KErrNone to indicate success or a standard Symbian OS error code.

McaeoVideoRecordingComplete(TInt)

voidMcaeoVideoRecordingComplete(TIntaError)[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 aErrorError 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)

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

Parameters

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

McaeoVideoRecordingPaused(TInt)

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

Parameters

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

McaeoVideoRecordingStopped()

voidMcaeoVideoRecordingStopped()[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)

voidMcaeoVideoRecordingTimes(TTimeIntervalMicroSecondsaTimeElapsed,
TTimeIntervalMicroSecondsaTimeRemaining,
TIntaError
)[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 aTimeElapsedReturns recording time elapsed from video recording start.
TTimeIntervalMicroSeconds aTimeRemainingReturns estimated video recording time left limited by storage capacity or max clip size.
TInt aErrorError code KErrNone to indicate success or a standard Symbian OS error code.

McaeoViewFinderFrameReady(CFbsBitmap &, TInt)

voidMcaeoViewFinderFrameReady(CFbsBitmap &aFrame,
TIntaError
)[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 & aFrameReference to a bitmap containing view finder data. Does not transfer ownership.
TInt aErrorError code KErrNone to indicate success or a standard Symbian OS error code.