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.
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.
Public Member Functions | |
---|---|
~CCameraPresets() | |
IMPORT_C void | GetAffectedSettingsL(RArray< TUid > &) |
IMPORT_C void | GetAssociatedSettingsL(TUid, RArray< TUid > &) |
IMPORT_C void | GetFeatureRestrictedSettingsL(RArray< TUid > &) |
IMPORT_C void | GetRangeRestrictedSettingsL(RArray< TUid > &) |
IMPORT_C void | GetSupportedPresetsL(RArray< TUid > &) |
IMPORT_C void | IsPresetUnlockSupportedL(TBool &) |
IMPORT_C void | LockPresetL() |
IMPORT_C CCameraPresets * | NewL(CCamera &) |
IMPORT_C TUid | Preset() |
IMPORT_C void | SetPreset(TUid) |
IMPORT_C void | UnlockPresetL() |
Private Member Functions | |
---|---|
CCameraPresets(CCamera &) | |
IMPORT_C void | ConstructL() |
void | FilterUnrecognisedUids(RArray< TUid > &, const TInt) |
Private Attributes | |
---|---|
MCameraPresets * | iImpl |
MCameraPresets2 * | iImpl2 |
CCamera & | iOwner |
IMPORT_C | CCameraPresets | ( | CCamera & | aOwner | ) | [private] |
CCamera & aOwner |
void | FilterUnrecognisedUids | ( | RArray< TUid > & | aUids, |
const TInt | aBaselineUid | |||
) | const [private] |
IMPORT_C void | GetAffectedSettingsL | ( | RArray< TUid > & | aSettings | ) | const |
IMPORT_C void | GetAssociatedSettingsL | ( | TUid | aPreset, |
RArray< TUid > & | aSettings | |||
) | const |
IMPORT_C void | GetFeatureRestrictedSettingsL | ( | RArray< TUid > & | aFeatureRestrictedSettings | ) | const |
IMPORT_C void | GetRangeRestrictedSettingsL | ( | RArray< TUid > & | aRangeRestrictedSettings | ) | const |
IMPORT_C void | GetSupportedPresetsL | ( | RArray< TUid > & | aPresets | ) | const |
IMPORT_C void | IsPresetUnlockSupportedL | ( | TBool & | aUnlockSupported | ) | const |
TBool & aUnlockSupported |