Class UIGestureRecognizerState


  • public final class UIGestureRecognizerState
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Began
      the recognizer has received touches recognized as the gesture. the action method will be called at the next turn of the run loop
      static long Cancelled
      the recognizer has received touches resulting in the cancellation of the gesture. the action method will be called at the next turn of the run loop. the recognizer will be reset to UIGestureRecognizerStatePossible
      static long Changed
      the recognizer has received touches recognized as a change to the gesture. the action method will be called at the next turn of the run loop
      static long Ended
      the recognizer has received touches recognized as the end of the gesture. the action method will be called at the next turn of the run loop and the recognizer will be reset to UIGestureRecognizerStatePossible
      static long Failed
      the recognizer has received a touch sequence that can not be recognized as the gesture. the action method will not be called and the recognizer will be reset to UIGestureRecognizerStatePossible
      static long Possible
      the recognizer has not yet recognized its gesture, but may be evaluating touch events. this is the default state
      static long Recognized
      the recognizer has received touches recognized as the gesture. the action method will be called at the next turn of the run loop and the recognizer will be reset to UIGestureRecognizerStatePossible
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Possible

        public static final long Possible
        the recognizer has not yet recognized its gesture, but may be evaluating touch events. this is the default state
        See Also:
        Constant Field Values
      • Began

        public static final long Began
        the recognizer has received touches recognized as the gesture. the action method will be called at the next turn of the run loop
        See Also:
        Constant Field Values
      • Changed

        public static final long Changed
        the recognizer has received touches recognized as a change to the gesture. the action method will be called at the next turn of the run loop
        See Also:
        Constant Field Values
      • Ended

        public static final long Ended
        the recognizer has received touches recognized as the end of the gesture. the action method will be called at the next turn of the run loop and the recognizer will be reset to UIGestureRecognizerStatePossible
        See Also:
        Constant Field Values
      • Cancelled

        public static final long Cancelled
        the recognizer has received touches resulting in the cancellation of the gesture. the action method will be called at the next turn of the run loop. the recognizer will be reset to UIGestureRecognizerStatePossible
        See Also:
        Constant Field Values
      • Failed

        public static final long Failed
        the recognizer has received a touch sequence that can not be recognized as the gesture. the action method will not be called and the recognizer will be reset to UIGestureRecognizerStatePossible
        See Also:
        Constant Field Values
      • Recognized

        public static final long Recognized
        the recognizer has received touches recognized as the gesture. the action method will be called at the next turn of the run loop and the recognizer will be reset to UIGestureRecognizerStatePossible
        See Also:
        Constant Field Values