CCameraPlugin Class Reference
class CCameraPlugin : public CCamera |
Protected Member Functions |
---|
| CCameraPlugin() |
| ~CCameraPlugin() |
IMPORT_C TInt | CameraVersion() |
IMPORT_C TInt | CamerasAvailable() |
void | Construct2DupL(MCameraObserver &, TInt) |
void | Construct2DupL(MCameraObserver2 &, TInt) |
void | Construct2L(MCameraObserver &, TInt) |
void | Construct2L(MCameraObserver2 &, TInt, TInt) |
IMPORT_C CCameraPlugin * | NewDuplicateL(MCameraObserver &, TInt, TInt) |
IMPORT_C CCameraPlugin * | NewDuplicateL(MCameraObserver2 &, TInt, TInt) |
IMPORT_C CCameraPlugin * | NewL(MCameraObserver &, TInt, TInt) |
IMPORT_C CCameraPlugin * | NewL(MCameraObserver2 &, TInt, TInt, TInt) |
Inherited Functions |
---|
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::Extension_(TUint,TAny *&,TAny *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
| CCamera::Brightness()const |
| CCamera::BuffersInUse()const |
| CCamera::CameraInfo(TCameraInfo &)const |
| CCamera::CancelCaptureImage() |
| CCamera::CaptureImage() |
| CCamera::Contrast()const |
| CCamera::CustomInterface(TUid) |
| CCamera::DigitalZoomFactor()const |
| CCamera::EnumerateCaptureSizes(TSize &,TInt,TFormat)const |
| CCamera::EnumerateVideoFrameRates(TReal32 &,TInt,TFormat,TInt,TExposure)const |
| CCamera::EnumerateVideoFrameSizes(TSize &,TInt,TFormat)const |
| CCamera::Exposure()const |
| CCamera::Flash()const |
| CCamera::FrameRate()const |
| CCamera::FramesPerBuffer()const |
| CCamera::GetFrameSize(TSize &)const |
| CCamera::Handle() |
| CCamera::JpegQuality()const |
| CCamera::New2L(MCameraObserver2 &,TInt,TInt) |
| CCamera::NewDuplicate2L(MCameraObserver2 &,TInt) |
| CCamera::NewDuplicateL(MCameraObserver &,TInt) |
| CCamera::NewDuplicateL(MCameraObserver2 &,TInt) |
| CCamera::NewL(MCameraObserver &,TInt) |
| CCamera::NewL(MCameraObserver2 &,TInt,TInt) |
| CCamera::PowerOff() |
| CCamera::PowerOn() |
| CCamera::PrepareImageCaptureL(TFormat,TInt) |
| CCamera::PrepareImageCaptureL(TFormat,TInt,const TRect &) |
| CCamera::PrepareVideoCaptureL(TFormat,TInt,TInt,TInt,TInt) |
| CCamera::PrepareVideoCaptureL(TFormat,TInt,TInt,TInt,TInt,const TRect &) |
| CCamera::Release() |
| CCamera::Reserve() |
| CCamera::SetBrightnessL(TInt) |
| CCamera::SetContrastL(TInt) |
| CCamera::SetDigitalZoomFactorL(TInt) |
| CCamera::SetExposureL(TExposure) |
| CCamera::SetFlashL(TFlash) |
| CCamera::SetJpegQuality(TInt) |
| CCamera::SetViewFinderMirrorL(TBool) |
| CCamera::SetWhiteBalanceL(TWhiteBalance) |
| CCamera::SetZoomFactorL(TInt) |
| CCamera::StartVideoCapture() |
| CCamera::StartViewFinderBitmapsL(TSize &) |
| CCamera::StartViewFinderBitmapsL(TSize &,TRect &) |
| CCamera::StartViewFinderDirectL(RWsSession &,CWsScreenDevice &,RWindowBase &,TRect &) |
| CCamera::StartViewFinderDirectL(RWsSession &,CWsScreenDevice &,RWindowBase &,TRect &,TRect &) |
| CCamera::StartViewFinderL(TFormat,TSize &) |
| CCamera::StartViewFinderL(TFormat,TSize &,TRect &) |
| CCamera::StopVideoCapture() |
| CCamera::StopViewFinder() |
| CCamera::VideoCaptureActive()const |
| CCamera::ViewFinderActive()const |
| CCamera::ViewFinderMirror()const |
| CCamera::WhiteBalance()const |
| CCamera::ZoomFactor()const |
Constructor & Destructor Documentation
CCameraPlugin()
IMPORT_C | CCameraPlugin | ( | ) | [protected] |
Default constructor for this class.
~CCameraPlugin()
IMPORT_C | ~CCameraPlugin | ( | ) | [protected] |
Member Functions Documentation
CameraVersion()
IMPORT_C TInt | CameraVersion | ( | ) | [protected] |
Returns the camera API version no.
CamerasAvailable()
IMPORT_C TInt | CamerasAvailable | ( | ) | [protected, static] |
Construct2DupL(MCameraObserver &, TInt)
A call to one of the factory functions firstly loads the plugin, followed by a call to this function to complete construction.
Duplicates the original camera object for use by, for example, multimedia systems.
May leave with KErrNoMemory or KErrNotFound if aCameraHandle is not valid.
Parameters
MCameraObserver & aObserver | Reference to an observer. |
TInt aCameraHandle | Handle of an existing camera object. |
Construct2DupL(MCameraObserver2 &, TInt)
A call to one of the factory functions firstly loads the plugin, followed by a call to this function to complete construction.
Duplicates the original camera object for use by, for example, multimedia systems.
May leave with KErrNoMemory or KErrNotFound if aCameraHandle is not valid.
-
leave
- May leave with KErrNoMemory or KErrNotFound if aCameraHandle is not valid.
Parameters
MCameraObserver2 & aObserver | Reference to an observer. |
TInt aCameraHandle | Handle of an existing camera object. |
Construct2L(MCameraObserver &, TInt)
A call to one of the factory functions firstly loads the plugin, followed by a call to this function to complete construction.
Creates an object representing a camera.
-
leave
- May leave with KErrNoMemory or KErrNotSupported if aCameraIndex is out of range.
Parameters
MCameraObserver & aObserver | Reference to class derived from MCameraObserver2 designed to receive notification of asynchronous event completion. |
TInt aCameraIndex | Index from 0 to CamerasAvailable()-1 inclusive specifying the camera device to use. |
Construct2L(MCameraObserver2 &, TInt, TInt)
A call to one of the factory functions firstly loads the plugin, followed by a call to this function to complete construction.
Creates an object representing a camera.
-
leave
- May leave with KErrNoMemory or KErrNotSupported if aCameraIndex is out of range.
Parameters
MCameraObserver2 & aObserver | Reference to class derived from MCameraObserver2 designed to receive notification of asynchronous event completion. |
TInt aCameraIndex | Index from 0 to CamerasAvailable()-1 inclusive specifying the camera device to use. |
TInt aPriority | Value from -100 to 100 indicating relative priority of client to use camera. |
NewDuplicateL(MCameraObserver &, TInt, TInt)
NewDuplicateL(MCameraObserver2 &, TInt, TInt)
NewL(MCameraObserver &, TInt, TInt)
NewL(MCameraObserver2 &, TInt, TInt, TInt)
NewL(TInt)
Returns the loaded plugin.
NewLC(TInt)
Returns the loaded plugin. Plugin is left on the cleanup stack.
Parameters
TInt aCameraVersion | The version of camera API used by applications |
Member Data Documentation
CCameraStructure * iCameraStructure
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.