MCameraPresets2 Class Reference

class MCameraPresets2

Mixin class for implementation of extra methods of the Presets Camera Extension API.

Member Functions Documentation

GetFeatureRestrictedSettingsL(RArray< TUid > &)

void GetFeatureRestrictedSettingsL ( RArray < TUid > & aFeatureRestrictedSettings ) const [pure virtual]

Retrieves those settings which have been restricted (settings no longer supported) in order to let the camera work in a given preset mode. The client will be notified of feature restrictions through uid KUidECamEventFeatureRestricted. After receiving this notification, the client may use this method to retrieve these settings.

leave
May leave with any error code.

Parameters

RArray < TUid > & aFeatureRestrictedSettings An array of uid which represents those settings which have been restricted. These settings are ECam component wide.

GetRangeRestrictedSettingsL(RArray< TUid > &)

void GetRangeRestrictedSettingsL ( RArray < TUid > & aRangeRestrictedSettings ) const [pure virtual]

Retrieves those settings for which ranges have been restricted in order to let the camera work in a given preset mode. The client will be notified of range restrictions through uid KUidECamEventRangeRestricted. After receiving this notification, the client may use this method to retrieve those settings whose ranges have been restricted.

leave
May leave with any error code.

Parameters

RArray < TUid > & aRangeRestrictedSettings An array of uid which represents those settings whose ranges have been restricted. These settings are ECam component wide. For each of the settings, the client can query about the restricted range as per the usual way.

IsPresetUnlockSupportedL(TBool &)

void IsPresetUnlockSupportedL ( TBool & aUnlockSupported ) const [pure virtual]

Retrieves information about whether the preset unlock feature is supported or not. Unlocking the preset helps in making some further changes in the setting after the camera works in a particular preset mode

leave
May leave with any error code.

Parameters

TBool & aUnlockSupported ETrue indicates preset unlock feature is supported. EFalse indicates preset lock feature is not supported.

LockPreset()

void LockPreset ( ) [pure virtual]

Locks the preset for any further setting changes.

Note:

Event KUidECamEventPresetLocked is used to notify clients that the preset has been locked.

Release()

void Release ( ) [pure virtual]

Releases the interface.

UnlockPreset()

void UnlockPreset ( ) [pure virtual]

Unlocks the preset to apply further setting changes.

Note:

Event KUidECamEventPresetUnlocked is used to notify clients that the preset has been unlocked.