CCamera::CCameraDirectSnapshot Class Reference

class CCamera::CCameraDirectSnapshot : public CBase

This class allows the client to enable direct snapshot feature for still images only. The direct snapshot API can not be used for video.

The direct snapshot can be created out of CCameraV2DirectViewFinder object only. Its lifetime is dependent on the parent direct viewfinder object. So, the client is supposed to destroy the direct snapshot object before deleting the parent direct viewfinder object. The MDirectViewFinderObserver observer class provides callback to notify the client whenever direct snapshot data gets displayed on the given direct viewfinder screen. The callback also provides information regarding the CCameraImageCapture object used to issue the image capture calls. It also provides the Id for the individual images which get represented by the snapshot displayed.

Note:

This class provides a standardised client interface for the direct snapshot. Classes cannot be derived from it.

If the class methods leave, the output type parameter value is not guaranteed to be valid.

Inherits from

  • CCamera::CCameraDirectSnapshot

Constructor & Destructor Documentation

CCameraDirectSnapshot()

CCameraDirectSnapshot()[private]

~CCameraDirectSnapshot()

IMPORT_C~CCameraDirectSnapshot()

Member Functions Documentation

ConstructL(CCamera::CCameraV2DirectViewFinder &)

voidConstructL(CCamera::CCameraV2DirectViewFinder &aDirectViewFinder)[private]

Parameters

CCamera::CCameraV2DirectViewFinder & aDirectViewFinder

CreateL(CCamera::CCameraV2DirectViewFinder &)

IMPORT_C CCameraDirectSnapshot *CreateL(CCamera::CCameraV2DirectViewFinder &aDirectViewFinder)[private, static]

Parameters

CCamera::CCameraV2DirectViewFinder & aDirectViewFinder

DirectViewFinderImpl(CCamera::CCameraV2DirectViewFinder &)

MCameraV2DirectViewFinder *DirectViewFinderImpl(CCamera::CCameraV2DirectViewFinder &aDirectViewFinder)[private]

Parameters

CCamera::CCameraV2DirectViewFinder & aDirectViewFinder

DisableDirectSnapshot()

IMPORT_C voidDisableDirectSnapshot()

EnableDirectSnapshotL(TDirectSnapshotParameters &)

IMPORT_C voidEnableDirectSnapshotL(TDirectSnapshotParameters &aDirectSnapshotParameters)

Parameters

TDirectSnapshotParameters & aDirectSnapshotParameters

GetDirectSnapshotParametersL(TDirectSnapshotParameters &)

IMPORT_C voidGetDirectSnapshotParametersL(TDirectSnapshotParameters &aDirectSnapshotParameters)const

Parameters

TDirectSnapshotParameters & aDirectSnapshotParameters

GetDirectSnapshotStateL(TDirectSnapshotState &)

IMPORT_C voidGetDirectSnapshotStateL(TDirectSnapshotState &aDirectSnapshotParameters)const

Parameters

TDirectSnapshotState & aDirectSnapshotParameters

GetDirectViewFinderL(CCamera::CCameraV2DirectViewFinder *&)

IMPORT_C voidGetDirectViewFinderL(CCamera::CCameraV2DirectViewFinder *&aDirectViewFinder)const

Parameters

CCamera::CCameraV2DirectViewFinder *& aDirectViewFinder

SetDirectSnapshotParametersL(const TDirectSnapshotParameters &)

IMPORT_C voidSetDirectSnapshotParametersL(const TDirectSnapshotParameters &aDirectSnapshotParameters)

Parameters

const TDirectSnapshotParameters & aDirectSnapshotParameters

Member Enumerations Documentation

Enum TDirectSnapshotState

Describes the state of direct snapshot. The enumeration list may be extended in future.

Enumerators

EDirectSnapshotEnabled

The direct snapshot has been enabled.

EDirectSnapshotDisabled

The direct snapshot has been disabled.

Member Data Documentation

MCameraDirectSnapshot * iImpl

MCameraDirectSnapshot *iImpl[private]