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
Public Member Functions | |
---|---|
void | ContinuousZoomCompleted(CCamera::CCameraContinuousZoom &, TInt, TInt) |
void | ContinuousZoomProgress(CCamera::CCameraContinuousZoom &, TInt, TInt) |
TInt | CustomInterface(TUid, TAny *&) |
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.
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 |
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.
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. |