Package 

Enum Gesture

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

    
    public enum Gesture
    
                        

    Gestures listen to finger gestures over the CameraView bounds and can be mapped to one or more camera controls 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
      SCROLL_VERTICAL

      Vertical scroll gesture.This gesture can be mapped to continuous actions:- ZOOM - EXPOSURE_CORRECTION - FILTER_CONTROL_1 - FILTER_CONTROL_2 - NONE

      SCROLL_HORIZONTAL

      Horizontal scroll gesture.This gesture can be mapped to continuous actions:- ZOOM - EXPOSURE_CORRECTION - FILTER_CONTROL_1 - FILTER_CONTROL_2 - NONE

      LONG_TAP

      Long tap gesture.This gesture can be mapped to one shot actions:- AUTO_FOCUS - TAKE_PICTURE - NONE

      TAP

      Single tap gesture, typically assigned to the focus control.This gesture can be mapped to one shot actions:- AUTO_FOCUS - TAKE_PICTURE - NONE

      PINCH

      Pinch gesture, typically assigned to the zoom control.This gesture can be mapped to continuous actions:- ZOOM - EXPOSURE_CORRECTION - FILTER_CONTROL_1 - FILTER_CONTROL_2 - NONE