javauis/amms_qt/javasrc/javax/microedition/amms/control/camera/FlashControl.java
changeset 23 98ccebc37403
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/javauis/amms_qt/javasrc/javax/microedition/amms/control/camera/FlashControl.java	Fri May 14 15:47:24 2010 +0300
@@ -0,0 +1,78 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+package javax.microedition.amms.control.camera;
+
+import javax.microedition.media.MediaException;
+import javax.microedition.media.Control;
+
+/**
+ * Please refer to JSR 234 for more details.
+ */
+public interface FlashControl extends Control
+{
+
+    /**
+     * Please refer to JSR 234 for more details.
+     */
+    public final static int OFF = 1;
+
+    /**
+     * Please refer to JSR 234 for more details.
+     */
+    public final static int AUTO = 2;
+
+    /**
+     * Please refer to JSR 234 for more details.
+     */
+    public final static int AUTO_WITH_REDEYEREDUCE = 3;
+
+    /**
+     * Please refer to JSR 234 for more details.
+     */
+    public final static int FORCE = 4;
+
+    /**
+     * Please refer to JSR 234 for more details.
+     */
+    public final static int FORCE_WITH_REDEYEREDUCE = 5;
+
+    /**
+     * Please refer to JSR 234 for more details.
+     */
+    public final static int FILLIN = 6;
+
+    /**
+     * Please refer to JSR 234 for more details.
+     */
+    public int[] getSupportedModes();
+
+    /**
+     * Please refer to JSR 234 for more details.
+     */
+    public void setMode(int mode);
+
+    /**
+     * Please refer to JSR 234 for more details.
+     */
+    public int getMode();
+
+    /**
+     * Please refer to JSR 234 for more details.
+     */
+    public boolean isFlashReady();
+
+}