Package 

Enum GestureAction

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum GestureAction
    
                        

    Gestures 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_2

      Controls 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_1

      Controls 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_CORRECTION

      Exposure correction control.This action can be mapped to continuous gestures:- PINCH - SCROLL_HORIZONTAL - SCROLL_VERTICAL

      ZOOM

      Zoom control, typically assigned to the pinch gesture.This action can be mapped to continuous gestures:- PINCH - SCROLL_HORIZONTAL - SCROLL_VERTICAL

      TAKE_PICTURE_SNAPSHOT

      When triggered, this action will fire a picture snapshot.This action can be mapped to one shot gestures:- TAP - LONG_TAP

      TAKE_PICTURE

      When triggered, this action will fire a picture shoot.This action can be mapped to one shot gestures:- TAP - LONG_TAP

      AUTO_FOCUS

      Touch 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

      NONE

      No action. This can be mapped to any gesture to disable it.

    • Method Summary

      Modifier and Type Method Description
      static Array<GestureAction> values()
      static GestureAction valueOf(String name)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait