MCameraSnapshot2 Class Reference

class MCameraSnapshot2

This is a mixin class to be implemented by providers of the extension API for the extra features for camera snapshot.

CCamera::CCameraSnapshot

Member Functions Documentation

CreateHistogramImplFactoryL(MImplementationFactory *&)

voidCreateHistogramImplFactoryL(MImplementationFactory *&aImplFactoryPtr)const [pure virtual]

Retrieves the concrete factory handle for the histogram implementation in order to use it specifically for a given snapshot.

leave

May leave with any error code.

Parameters

MImplementationFactory *& aImplFactoryPtrThe concrete factory handle for the histogram implementation specific to the given snapshot.

DisableSnapshot()

voidDisableSnapshot()[pure virtual]

Deactivates the snapshot feature if it is active.

Once the snapshot has been deactivated, the client will no longer receive notifications about snapshots.

EnableSnapshot()

voidEnableSnapshot()[pure virtual]

Activates the snapshot feature. Calls to this method when the snapshot feature is already active will be ignored.

The client will not receive snapshot notifications until the snapshot feature is activated.

Implementation shall use the observers: MCaptureImageObserver and MCaptureVideoObserver. Snapshot notifications will be send to the clients via these observers and not through events.

GetSnapshotParametersL(CCamera::CCameraSnapshot::TSnapshotParameters &)

voidGetSnapshotParametersL(CCamera::CCameraSnapshot::TSnapshotParameters &aSnapshotParameters)[pure virtual]

Retrieves the snapshot parameters. ECam implementation may use a different size than that provided by this method.

leave

May leave with any error code.

Note:

This method is used to retrieve snapshot parameters.

Parameters

CCamera::CCameraSnapshot::TSnapshotParameters & aSnapshotParametersRetrieves the currently used snapshot parameters.

GetSnapshotStatusL(CCamera::CCameraSnapshot::TSnapshotState &)

voidGetSnapshotStatusL(CCamera::CCameraSnapshot::TSnapshotState &aSnapshotState)const [pure virtual]

Retrieves the current status for the snapshot.

leave

May leave with any error code.

Note:

This method is used to retrieve the snapshot status.

Parameters

CCamera::CCameraSnapshot::TSnapshotState & aSnapshotStateRetrieves information about the current snapshot state.

PrepareSnapshotL(const CCamera::CCameraSnapshot::TSnapshotParameters &)

voidPrepareSnapshotL(const CCamera::CCameraSnapshot::TSnapshotParameters &aSnapshotParameters)[pure virtual]

Sets the properties of the snapshot. ECam implementation may use a different size than that specified by this method.

leave

May leave with any error code.

Note:

This method is used to provide snapshot parameters.

Parameters

const CCamera::CCameraSnapshot::TSnapshotParameters & aSnapshotParametersThe snaspshot parameters.

Release()

voidRelease()[pure virtual]

Releases the interface.

SelectSnapshotVideoFramesL(CCamera::CCameraSnapshot::TSnapshotVideoFrames)

voidSelectSnapshotVideoFramesL(CCamera::CCameraSnapshot::TSnapshotVideoFramesaSnapshotVideoFrames)[pure virtual]

The method specifies the frames to be used from video captured data in order to create snapshot for video.

leave

May leave with any error code.

Parameters

CCamera::CCameraSnapshot::TSnapshotVideoFrames aSnapshotVideoFramesA TSnapshotVideoFrames used to specify the desired frames to be used for creating snapshots for video.

SetClientViewFinderId(TInt)

voidSetClientViewFinderId(TIntaClientViewFinderId)[pure virtual]

Sets the client viewfinder on which the client snapshot will be displayed.

Parameters

TInt aClientViewFinderIdThe client viewfinder on which this client snapshot will be displayed.

SetSnapshotParametersL(const CCamera::CCameraSnapshot::TSnapshotParameters &)

voidSetSnapshotParametersL(const CCamera::CCameraSnapshot::TSnapshotParameters &aSnapshotParameters)[pure virtual]

Sets/updates the snapshot parameters.

leave

May leave with any error code.

Note:

This method is used to set/update snapshot parameters.

Parameters

const CCamera::CCameraSnapshot::TSnapshotParameters & aSnapshotParametersThe desired snapshot parameters.