Class UITouchType


  • public final class UITouchType
    extends java.lang.Object
    API-Since: 9.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Direct
      A direct touch from a finger (on a screen) API-Since: 9.0
      static long Indirect
      An indirect touch (not a screen) API-Since: 9.0
      static long IndirectPointer
      A touch representing a button-based, indirect input device describing the input sequence from button press to button release API-Since: 13.4
      static long Pencil
      Add pencil name variant API-Since: 9.1
      static long Stylus
      A touch from a stylus (deprecated name, use pencil) API-Since: 9.1
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • Direct

        public static final long Direct
        A direct touch from a finger (on a screen) API-Since: 9.0
        See Also:
        Constant Field Values
      • Indirect

        public static final long Indirect
        An indirect touch (not a screen) API-Since: 9.0
        See Also:
        Constant Field Values
      • Stylus

        public static final long Stylus
        A touch from a stylus (deprecated name, use pencil) API-Since: 9.1
        See Also:
        Constant Field Values
      • Pencil

        public static final long Pencil
        Add pencil name variant API-Since: 9.1
        See Also:
        Constant Field Values
      • IndirectPointer

        public static final long IndirectPointer
        A touch representing a button-based, indirect input device describing the input sequence from button press to button release API-Since: 13.4
        See Also:
        Constant Field Values