-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum GestureActionGestures actions are actions over camera controls that can be mapped to certain gestures over the screen, using XML attributes or mapGesture. Not every gesture can control a certain action. For example, pinch gestures can only control continuous values, such as zoom or AE correction. Single point gestures, on the other hand, can only control point actions such as focusing or capturing a picture.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILTER_CONTROL_2Controls the second parameter of a real-time Filter,if it accepts one. This action can be mapped to continuous gestures:- PINCH - SCROLL_HORIZONTAL - SCROLL_VERTICAL
FILTER_CONTROL_1Controls the first parameter of a real-time Filter,if it accepts one. This action can be mapped to continuous gestures:- PINCH - SCROLL_HORIZONTAL - SCROLL_VERTICAL
EXPOSURE_CORRECTIONExposure correction control.This action can be mapped to continuous gestures:- PINCH - SCROLL_HORIZONTAL - SCROLL_VERTICAL
ZOOMZoom control, typically assigned to the pinch gesture.This action can be mapped to continuous gestures:- PINCH - SCROLL_HORIZONTAL - SCROLL_VERTICAL
TAKE_PICTURE_SNAPSHOTWhen triggered, this action will fire a picture snapshot.This action can be mapped to one shot gestures:- TAP - LONG_TAP
TAKE_PICTUREWhen triggered, this action will fire a picture shoot.This action can be mapped to one shot gestures:- TAP - LONG_TAP
AUTO_FOCUSTouch metering control, typically assigned to the tap gesture.This action can be mapped to one shot gestures:- TAP - LONG_TAP To control marker drawing, please see setAutoFocusMarker
NONENo action. This can be mapped to any gesture to disable it.
-
Method Summary
Modifier and Type Method Description static Array<GestureAction>values()static GestureActionvalueOf(String name)-
-
Method Detail
-
values
static Array<GestureAction> values()
-
valueOf
static GestureAction valueOf(String name)
-
-
-
-