MCameraDirectSnapshot Class Reference

class MCameraDirectSnapshot

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

CCamera::CCameraDirectSnapshot

Member Functions Documentation

DisableDirectSnapshot()

voidDisableDirectSnapshot()[pure virtual]

Disable the direct snapshot. The direct snapshot will not be displayed on the parent direct viewfinder screen.

EnableDirectSnapshotL(CCamera::CCameraDirectSnapshot::TDirectSnapshotParameters &)

voidEnableDirectSnapshotL(CCamera::CCameraDirectSnapshot::TDirectSnapshotParameters &aDirectSnapshotParameters)[pure virtual]

Enable the direct snapshot. The direct snapshot will be displayed on the parent direct viewfinder screen. The screen size of the snapshot will be the same as that of the parent direct viewfinder screen.

The direct snapshot can be displayed only for still images.

leave
MAy leave with any error code.

Parameters

CCamera::CCameraDirectSnapshot::TDirectSnapshotParameters & aDirectSnapshotParametersThe desired direct snapshot parameter.

GetDirectSnapshotParametersL(CCamera::CCameraDirectSnapshot::TDirectSnapshotParameters &)

voidGetDirectSnapshotParametersL(CCamera::CCameraDirectSnapshot::TDirectSnapshotParameters &aDirectSnapshotParameters)const [pure virtual]

Retrieves the direct snapshot parameters.

leave
May leave with any error code.

Parameters

CCamera::CCameraDirectSnapshot::TDirectSnapshotParameters & aDirectSnapshotParametersRetrieves the direct snapshot parameter of type TDirectSnapshotParameters.

GetDirectSnapshotStateL(CCamera::CCameraDirectSnapshot::TDirectSnapshotState &)

voidGetDirectSnapshotStateL(CCamera::CCameraDirectSnapshot::TDirectSnapshotState &aDirectSnapshotState)const [pure virtual]

Retrieves the current state for direct snapshot.

leave
May leave with any error code.

GetDirectViewFinderL(CCamera::CCameraV2DirectViewFinder *&)

voidGetDirectViewFinderL(CCamera::CCameraV2DirectViewFinder *&aDirectViewFinder)const [pure virtual]

Retrieve the version2 direct viewfinder object out of which this direct snapshot has been created. This information may be required by the client in order to map the direct snapshot object with its parent version2 direct viewfinder object or also to retrieve properties of its parent version2 direct viewfinder object.

leave
May leave with any error code.

Parameters

CCamera::CCameraV2DirectViewFinder *& aDirectViewFinderA pointer to the camera version2 direct viewfinder object on which the direct snapshot will be displayed.

Release()

voidRelease()[pure virtual]

Releases the interface.

SetDirectSnapshotParametersL(const CCamera::CCameraDirectSnapshot::TDirectSnapshotParameters &)

voidSetDirectSnapshotParametersL(const CCamera::CCameraDirectSnapshot::TDirectSnapshotParameters &aDirectSnapshotParameters)[pure virtual]

Sets the direct snapshot parameters.

leave
May leave with any error code.

Parameters

const CCamera::CCameraDirectSnapshot::TDirectSnapshotParameters & aDirectSnapshotParametersThe desired direct snapshot parameter of type TDirectSnapshotParameters.

SetDirectViewFinder(const CCamera::CCameraV2DirectViewFinder *)

voidSetDirectViewFinder(const CCamera::CCameraV2DirectViewFinder *aDirectViewFinder)[pure virtual]

Sets the version2 direct viewfinder object out of which this direct snapshot has been created. This is called only during the creation time of CCameraDirectSnapshot.

Parameters

const CCamera::CCameraV2DirectViewFinder * aDirectViewFinderA pointer to the camera version2 direct viewfinder object on which the direct snapshot will be displayed.