|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 package javax.microedition.amms.control.camera; |
|
18 |
|
19 import javax.microedition.media.MediaException; |
|
20 import javax.microedition.media.Control; |
|
21 |
|
22 /** |
|
23 * Please refer to JSR 234 for more details. |
|
24 */ |
|
25 public interface SnapshotControl extends Control |
|
26 { |
|
27 |
|
28 /** |
|
29 * Please refer to JSR 234 for more details. |
|
30 */ |
|
31 String SHOOTING_STOPPED = "SHOOTING_STOPPED"; |
|
32 |
|
33 /** |
|
34 * Please refer to JSR 234 for more details. |
|
35 */ |
|
36 String STORAGE_ERROR = "STORAGE_ERROR"; |
|
37 |
|
38 /** |
|
39 * Please refer to JSR 234 for more details. |
|
40 */ |
|
41 String WAITING_UNFREEZE = "WAITING_UNFREEZE"; |
|
42 |
|
43 /** |
|
44 * Please refer to JSR 234 for more details. |
|
45 */ |
|
46 public final static int FREEZE = -2; |
|
47 |
|
48 /** |
|
49 * Please refer to JSR 234 for more details. |
|
50 */ |
|
51 public final static int FREEZE_AND_CONFIRM = -1; |
|
52 |
|
53 |
|
54 |
|
55 /** |
|
56 * Please refer to JSR 234 for more details. |
|
57 */ |
|
58 void setDirectory(String directory); |
|
59 |
|
60 /** |
|
61 * Please refer to JSR 234 for more details. |
|
62 */ |
|
63 String getDirectory(); |
|
64 |
|
65 /** |
|
66 * Please refer to JSR 234 for more details. |
|
67 */ |
|
68 void setFilePrefix(String prefix); |
|
69 |
|
70 /** |
|
71 * Please refer to JSR 234 for more details. |
|
72 */ |
|
73 String getFilePrefix(); |
|
74 |
|
75 /** |
|
76 * Please refer to JSR 234 for more details. |
|
77 */ |
|
78 void setFileSuffix(String suffix); |
|
79 |
|
80 /** |
|
81 * Please refer to JSR 234 for more details. |
|
82 */ |
|
83 String getFileSuffix(); |
|
84 |
|
85 /** |
|
86 * Please refer to JSR 234 for more details. |
|
87 */ |
|
88 void start(int maxShots) throws SecurityException; |
|
89 |
|
90 |
|
91 /** |
|
92 * Please refer to JSR 234 for more details. |
|
93 */ |
|
94 void stop(); |
|
95 |
|
96 /** |
|
97 * Please refer to JSR 234 for more details. |
|
98 */ |
|
99 void unfreeze(boolean save); |
|
100 |
|
101 } |
|
102 |