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()

void DisableDirectSnapshot ( ) [pure virtual]

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

EnableDirectSnapshotL(CCamera::CCameraDirectSnapshot::TDirectSnapshotParameters &)

void EnableDirectSnapshotL ( 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 & aDirectSnapshotParameters The desired direct snapshot parameter.

GetDirectSnapshotParametersL(CCamera::CCameraDirectSnapshot::TDirectSnapshotParameters &)

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

Retrieves the direct snapshot parameters.

leave
May leave with any error code.

Parameters

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

GetDirectSnapshotStateL(CCamera::CCameraDirectSnapshot::TDirectSnapshotState &)

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

Retrieves the current state for direct snapshot.

leave
May leave with any error code.

GetDirectViewFinderL(CCamera::CCameraV2DirectViewFinder *&)

void GetDirectViewFinderL ( 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 *& aDirectViewFinder A pointer to the camera version2 direct viewfinder object on which the direct snapshot will be displayed.

Release()

void Release ( ) [pure virtual]

Releases the interface.

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

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

Sets the direct snapshot parameters.

leave
May leave with any error code.

Parameters

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

SetDirectViewFinder(const CCamera::CCameraV2DirectViewFinder *)

void SetDirectViewFinder ( 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 * aDirectViewFinder A pointer to the camera version2 direct viewfinder object on which the direct snapshot will be displayed.