1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Camera specific errors
29 /** The camera has been disabled, hence calls do not succeed */
30 static const TInt KErrECamCameraDisabled = -12100;
32 /** This parameter or operation is supported, but presently is disabled. */
33 static const TInt KErrECamSettingDisabled = -12101;
35 /** This value is out of range. */
36 static const TInt KErrECamParameterNotInRange = -12102;
39 @deprecated Use sysytem wide error code KErrNotSupported, since there is no clear cut difference between the two
41 static const TInt KErrECamSettingNotSupported = -12103;
43 /** The optimum focus is lost */
44 static const TInt KErrECamNotOptimalFocus = -12104;
46 /** The flash is not charged */
47 static const TInt KErrECamFlashNotCharged = -12105;
50 This error code is supposed to be used with new event KUidECamEventCIPSetColorSwapEntry
51 and KUidECamEventCIPRemoveColorSwapEntry.
52 This would occur when the particular color is being targetted by 2 color entries for
53 conversion to different colors.
56 static const TInt KErrECamColorOperationConflict = -12106;
59 This error code is supposed to be used with new event KUidECamEvent2CameraRequestForcedTimedTakeOver
60 and KUidECamEvent2CameraRequestTimedTakeOver.
61 This would mean that another such reserve request is outstanding and has higher priority than this client.
65 static const TInt KErrECamHighPriorityReserveRequesterExists = -12107;
68 This error code is supposed to be used whenever any fatal error occurs from which the client cannot recover.
73 static const TInt KErrECamFatalError = -12108;
76 If error is KErrECamImageResourceNotReleased and client wants to successfully call the Prepare method again,
77 client needs to delete all CCameraImageCapture objects and any Snapshot and Histogram objects associated with
83 static const TInt KErrECamImageResourceNotReleased = -12109;
86 If error is KErrECamVideoResourceNotReleased and client wants to successfully call the Prepare method again,
87 client needs to call ReleaseVideoResource to unprepare video and then delete any Snapshot and Histogram
88 objects associated with it as well.
93 static const TInt KErrECamVideoResourceNotReleased = -12110;
95 #endif // ECAMERRORS_H