CMceCameraSource Class Reference
class CMceCameraSource : public CMceMediaSource |
Class representing camera in MCE.
CMceCameraSource can be used to record video from camera.
Enable (continue) and Disable (pause) operations to it are considered to be local, so they are not signalled to remote terminal.
In common situation camera source is combined with display sink which acts as a viewfinder for the camera.
mceclient.lib
Constructor & Destructor Documentation
CMceCameraSource()
CMceCameraSource | ( | ) | [private] |
~CMceCameraSource()
IMPORT_C | ~CMceCameraSource | ( | ) | |
Member Functions Documentation
BrightnessL()
IMPORT_C TInt | BrightnessL | ( | ) | |
Gets the currently set brightness adjustment value.
CamerasAvailable()
IMPORT_C TInt | CamerasAvailable | ( | ) | const |
Gets the number of cameras on the device.
ConstructL(CMceManager *)
Second-phase constructor.
ContrastL()
Gets the current contrast value.
DigitalZoomFactorL()
IMPORT_C TInt | DigitalZoomFactorL | ( | ) | |
Gets the currently set digital zoom factor.
DisableL()
IMPORT_C void | DisableL | ( | ) | [virtual] |
Disables the source explicitly.
EnableL()
IMPORT_C void | EnableL | ( | ) | [virtual] |
Enables the source explicitly.
ExposureL()
Gets the currently set exposure setting value.
GetCameraInfo(TCameraInfo &)
Gets information about the camera device.
Parameters
TCameraInfo & aInfo | on return information about the camera device |
GetITCCameraInfoL(CMceManager &, TCameraInfo &)
InitializeL(CMceManager *)
Parameters
CMceManager * aManager | the manager. Ownership is NOT transferred |
SetBrightnessL(TInt)
IMPORT_C void | SetBrightnessL | ( | TInt | aBrightness | ) | |
Sets the brightness adjustment of the device. No effect if this is not supported, see TCameraInfo::TOptions.
-
leave
- KErrNotSupported if brightness adjustment is not supported, see TCameraInfo::TOptions
-
leave
- KErrArgument if the brightness adjustment is out of range
Parameters
TInt aBrightness | required brightness adjustment; This must be in the range of -100 to +100 or CCamera::EBrightnessAuto |
SetCameraIndexL(TInt)
IMPORT_C void | SetCameraIndexL | ( | TInt | aCameraIndex | ) | |
Sets index of physical camera to be used.
Parameters
TInt aCameraIndex | Index of the camera to be used; First camera has index 0 and number of available cameras can be retrieved by calling CMceCameraSource::CamerasAvailable |
SetContrastL(TInt)
IMPORT_C void | SetContrastL | ( | TInt | aContrast | ) | |
Sets the contrast adjustment of the device.
- leave
- KErrNotSupported if contrast adjustment is not supported, see TCameraInfo::TOptions
- leave
- KErrArgument if the specified contrast value is out of range
Parameters
TInt aContrast | required contrast value; This must be in the range of -100 to +100 or CCamera::EContrastAuto. |
SetDigitalZoomFactorL(TInt)
IMPORT_C void | SetDigitalZoomFactorL | ( | TInt | aDigitalZoomFactor | ) | |
Sets the digital zoom factor. This must be in the range of 0 to
TCameraInfo::iMaxDigitalZoom inclusive.
- leave
- KErrArgument if the zoom factor is out of range
Parameters
TInt aDigitalZoomFactor | The required digital zoom factor |
SetExposureL(CCamera::TExposure)
Sets the exposure adjustment of the device.
- leave
- KErrNotSupported if the specified exposure adjustment is not supported, see CameraInfo::iExposureModesSupported
SetITCValueL(TUint8, TInt)
SetWhiteBalanceL(CCamera::TWhiteBalance)
SetZoomFactorL(TInt)
IMPORT_C void | SetZoomFactorL | ( | TInt | aZoomFactor | ) | |
Parameters
TInt aZoomFactor | required zoom factor |
WhiteBalanceL()
Gets the currently set white balance adjustment value.
ZoomFactorL()
IMPORT_C TInt | ZoomFactorL | ( | ) | |
Gets the currently set zoom factor.
Member Data Documentation
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.