MContinuousZoomObserver Class Reference

#include <ecamadvsettings.h>

class MContinuousZoomObserver

Detailed Description

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

Member Function Documentation

ContinuousZoomCompleted ( CCamera::CCameraContinuousZoom &, TInt, TInt )

voidContinuousZoomCompleted(CCamera::CCameraContinuousZoom &aContinuousZoomHandle,
TIntaFinalZoomFactor,
TIntaError
)[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.

ParameterDescription
aContinuousZoomHandleReference to CCameraContinuousZoom class object which was used to start the continuous zoom operation.
aFinalZoomFactorThe 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.

ContinuousZoomProgress ( CCamera::CCameraContinuousZoom &, TInt, TInt )

voidContinuousZoomProgress(CCamera::CCameraContinuousZoom &aContinuousZoomHandle,
TIntaZoomFactor,
TIntaError
)[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.

ParameterDescription
aContinuousZoomHandleReference to CCameraContinuousZoom class object which was used to start the continuous zoom operation.
aZoomFactorThe new zoom factor value, multiplied by KECamFineResolutionFactor, which has been achieved.
aErrorAppropriate error code.

CustomInterface ( TUid, TAny *& )

TInt CustomInterface(TUidaInterface,
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.

ParameterDescription
aInterfaceThe Uid of the particular interface function required for callbacks.
aPtrInterfaceThe implementation has to type-cast the retrieved custom interface pointer to the appropriate type.

Returns: The error code.