CCamera::CCameraPresets Class Reference

class CCamera::CCameraPresets : public CBase

This API is used to simplify user - camera interaction by allowing simultaneous setting of various advanced camera hardware settings using a single parameter.

Preset is identified by a single UID and relates to a known predefined outcome. For example the 'Night' Preset will be used to set the camera into a night mode so that the user can take night photos.

The particular set of settings associated with the specific preset and their specific values and ranges are camera hardware specific and outside the scope of this API.

Note:

This class is not intended for sub-classing and used to standardise existing varieties of implementations.

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

Inherits from

  • CCamera::CCameraPresets

Constructor & Destructor Documentation

CCameraPresets(CCamera &)

IMPORT_CCCameraPresets(CCamera &aOwner)[private]

Parameters

CCamera & aOwner

~CCameraPresets()

IMPORT_C~CCameraPresets()

Member Functions Documentation

ConstructL()

IMPORT_C voidConstructL()[private]

FilterUnrecognisedUids(RArray< TUid > &, const TInt)

voidFilterUnrecognisedUids(RArray< TUid > &aUids,
const TIntaBaselineUid
)const [private]

Parameters

RArray< TUid > & aUids
const TInt aBaselineUid

GetAffectedSettingsL(RArray< TUid > &)

IMPORT_C voidGetAffectedSettingsL(RArray< TUid > &aSettings)const

Parameters

RArray< TUid > & aSettings

GetAssociatedSettingsL(TUid, RArray< TUid > &)

IMPORT_C voidGetAssociatedSettingsL(TUidaPreset,
RArray< TUid > &aSettings
)const

Parameters

TUid aPreset
RArray< TUid > & aSettings

GetFeatureRestrictedSettingsL(RArray< TUid > &)

IMPORT_C voidGetFeatureRestrictedSettingsL(RArray< TUid > &aFeatureRestrictedSettings)const

Parameters

RArray< TUid > & aFeatureRestrictedSettings

GetRangeRestrictedSettingsL(RArray< TUid > &)

IMPORT_C voidGetRangeRestrictedSettingsL(RArray< TUid > &aRangeRestrictedSettings)const

Parameters

RArray< TUid > & aRangeRestrictedSettings

GetSupportedPresetsL(RArray< TUid > &)

IMPORT_C voidGetSupportedPresetsL(RArray< TUid > &aPresets)const

Parameters

RArray< TUid > & aPresets

IsPresetUnlockSupportedL(TBool &)

IMPORT_C voidIsPresetUnlockSupportedL(TBool &aUnlockSupported)const

Parameters

TBool & aUnlockSupported

LockPresetL()

IMPORT_C voidLockPresetL()

NewL(CCamera &)

IMPORT_C CCameraPresets *NewL(CCamera &aCamera)[static]

Parameters

CCamera & aCamera

Preset()

IMPORT_C TUidPreset()const

SetPreset(TUid)

IMPORT_C voidSetPreset(TUidaPreset)

Parameters

TUid aPreset

UnlockPresetL()

IMPORT_C voidUnlockPresetL()

Member Data Documentation

MCameraPresets * iImpl

MCameraPresets *iImpl[private]

MCameraPresets2 * iImpl2

MCameraPresets2 *iImpl2[private]

CCamera & iOwner

CCamera &iOwner[private]