MContinuousZoomObserver Class Reference
class MContinuousZoomObserver |
A mixin class to be implemented by the client in order to use the Continuous Zoom API. The callbacks are invoked by the implementation whenever the continuous zoom operations are ready to be notified.
CCameraContinuousZoom
Member Functions Documentation
ContinuousZoomCompleted(CCamera::CCameraContinuousZoom &, TInt, TInt)
Implementation sends this callback when the Continuous Zoom operation has been completed. This callback will be sent when target zoom factor is achieved. This zoom factor may in some cases be less than the target zoom factor due to the complexity of the continuous zoom operation. Once this callback is received, client need not issue StopContinuousZoom() and can call StartContinuousZoom() again.
Parameters
CCamera::CCameraContinuousZoom & aContinuousZoomHandle | Reference to CCameraContinuousZoom class object which was used to start the continuous zoom operation. |
TInt aFinalZoomFactor | The final zoom factor value once the continuous zoom operation has completed. This zoom factor may in some cases be less than the target zoom factor due to the complexity of the continuous zoom operation. |
TInt aError | |
ContinuousZoomProgress(CCamera::CCameraContinuousZoom &, TInt, TInt)
This callback is sent when a new zoom factor is achieved. Client may not receive a callback for every new zoom factor as it is up to the implementation to choose the zoom factors for which it will issue this callback. Should an error occur, this implies that the continuous zoom operation has been stopped.
Parameters
CCamera::CCameraContinuousZoom & aContinuousZoomHandle | Reference to CCameraContinuousZoom class object which was used to start the continuous zoom operation. |
TInt aZoomFactor | The new zoom factor value, multiplied by KECamFineResolutionFactor, which has been achieved. |
TInt aError | Appropriate error code. |
CustomInterface(TUid, TAny *&)
TInt
| CustomInterface | ( | TUid | aInterface, |
| TAny *& | aPtrInterface |
| ) | [pure virtual] |
Gets a custom interface for future callbacks. This method will be called by the implementation to get a new interface which would support future callbacks.
Parameters
TUid aInterface | The Uid of the particular interface function required for callbacks. |
TAny *& aPtrInterface | The implementation has to type-cast the retrieved custom interface pointer to the appropriate type. |
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.