MCameraOverlay2 Class Reference
This is a mixin class to be implemented by providers of the camera extension API for extra features for image overlays.
CCamera::CCameraOverlay
Member Functions Documentation
GetAllOverlaysInZOrderL(CCamera::CCameraOverlay::TOverlayCameraMode, TInt, RArray< TUint > &)
Gets all the overlay handles maintained by the ECam implementation, in order of their z-value, for a particular camera mode. If for viewfinder, then the handle number is used to get z-value for the viewfinder whose handle number is passed.
-
leave
- May leave with any error code.
Parameters
CCamera::CCameraOverlay::TOverlayCameraMode aOverlayCameraMode | The specific camera mode whose overlays' z-value information is required. |
TInt aViewFinderHandle | The specific viewfinder handle, if overlays' z-value information is required for viewfinder camera mode. |
RArray< TUint > & aOverlayHandles | Returned list, in z-value order, of all the overlay handles maintained on the ECam implementation. The topmost overlay is the first element of the array. |
Release()
void | Release | ( | ) | [pure virtual] |
SetAllOverlaysInZOrderL(CCamera::CCameraOverlay::TOverlayCameraMode, TInt, const RArray< TUint > &)
Sets all the overlay handles maintained by the ECam implementation, in order of their z-value, for a particular camera mode. If for viewfinder, then the handle number is used to set the z-value for the viewfinder whose handle number is passed.
-
leave
- May leave with any error code.
Parameters
CCamera::CCameraOverlay::TOverlayCameraMode aOverlayCameraMode | The specific camera mode whose overlays' z-value is to be set. |
TInt aViewFinderHandle | The specific viewfinder handle, if overlays' z-value is required to be set for viewfinder camera mode. |
const RArray< TUint > & aOverlayHandles | The overlay handles in aOverlayHandles array. This must be the complete current set of handles known to this CCameraOverlay object for the given camera mode (and for given viewfinder, if applicable). The client specifies the desired order by placing the topmost overlay in the first element of the array. |
SetModifiableOverlayBitmapL(TUint, CFbsBitmap *)
void | SetModifiableOverlayBitmapL | ( | TUint | aOverlayHandle, |
| CFbsBitmap * | aBitmap |
| ) | [pure virtual] |
Allows the overlay image data to be changed for a specified overlay. Ownership of the bitmap is passed to the implementation. Use this function to set the overlay image data if it was not specified when the overlay was created using CreateOverlayL().
-
leave
- May leave with any error code.
Note:
If required, implementation is free to modify the overlay bitmap passed to it.
SetOverlayParametersL should not be called after this method for the given overlay since it may change the overlay parameters considerably. In such a case, SetOverlayParametersL may leave with error KErrArgument.
Parameters
TUint aOverlayHandle | The handle of the overlay whose overlay image data is to be changed. |
CFbsBitmap * aBitmap | The new image data for the overlay. |
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.