#include <ecamadvsettings.h>
class MContinuousZoomObserver |
Public Member Functions | |
---|---|
pure virtual void | ContinuousZoomCompleted(CCamera::CCameraContinuousZoom &, TInt, TInt) |
pure virtual void | ContinuousZoomProgress(CCamera::CCameraContinuousZoom &, TInt, TInt) |
pure virtual TInt | CustomInterface(TUid, TAny *&) |
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.
See also: CCameraContinuousZoom
void | ContinuousZoomCompleted | ( | CCamera::CCameraContinuousZoom & | aContinuousZoomHandle, |
TInt | aFinalZoomFactor, | |||
TInt | aError | |||
) | [pure virtual] |
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.
Parameter | Description |
---|---|
aContinuousZoomHandle | Reference to CCameraContinuousZoom class object which was used to start the continuous zoom operation. |
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. |
void | ContinuousZoomProgress | ( | CCamera::CCameraContinuousZoom & | aContinuousZoomHandle, |
TInt | aZoomFactor, | |||
TInt | aError | |||
) | [pure virtual] |
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.
Parameter | Description |
---|---|
aContinuousZoomHandle | Reference to CCameraContinuousZoom class object which was used to start the continuous zoom operation. |
aZoomFactor | The new zoom factor value, multiplied by KECamFineResolutionFactor, which has been achieved. |
aError | Appropriate error code. |
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.
Parameter | Description |
---|---|
aInterface | The Uid of the particular interface function required for callbacks. |
aPtrInterface | The implementation has to type-cast the retrieved custom interface pointer to the appropriate type. |
Returns: The error code.