MCamAppEngineObserver Class Reference
class MCamAppEngineObserver |
Camera Application Engine observer class. Mixin base class for the clients of the engine.
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] |
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)
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] |
Parameters
TInt aError | Error code KErrNone to indicate success or a standard Symbian OS error code. |
McaeoVideoRecordingPaused(TInt)
void | McaeoVideoRecordingPaused | ( | TInt | aError | ) | [pure virtual] |
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)
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] |
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. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.