Class UITouchPhase


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

      Fields 
      Modifier and Type Field Description
      static long Began
      whenever a finger touches the surface.
      static long Cancelled
      whenever a touch doesn't end but we need to stop tracking (e.g. putting device to face)
      static long Ended
      whenever a finger leaves the surface.
      static long Moved
      whenever a finger moves on the surface.
      static long RegionEntered
      whenever a touch is entering the region of a user interface
      static long RegionExited
      when a touch is exiting the region of a user interface
      static long RegionMoved
      when a touch is inside the region of a user interface, but hasn’t yet made contact or left the region
      static long Stationary
      whenever a finger is touching the surface but hasn't moved since the previous event.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • Began

        public static final long Began
        whenever a finger touches the surface.
        See Also:
        Constant Field Values
      • Moved

        public static final long Moved
        whenever a finger moves on the surface.
        See Also:
        Constant Field Values
      • Stationary

        public static final long Stationary
        whenever a finger is touching the surface but hasn't moved since the previous event.
        See Also:
        Constant Field Values
      • Ended

        public static final long Ended
        whenever a finger leaves the surface.
        See Also:
        Constant Field Values
      • Cancelled

        public static final long Cancelled
        whenever a touch doesn't end but we need to stop tracking (e.g. putting device to face)
        See Also:
        Constant Field Values
      • RegionEntered

        public static final long RegionEntered
        whenever a touch is entering the region of a user interface
        See Also:
        Constant Field Values
      • RegionMoved

        public static final long RegionMoved
        when a touch is inside the region of a user interface, but hasn’t yet made contact or left the region
        See Also:
        Constant Field Values
      • RegionExited

        public static final long RegionExited
        when a touch is exiting the region of a user interface
        See Also:
        Constant Field Values