| 
    Kodi Documentation 18.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
Interface defining all supported touch action events. More...
#include <ITouchActionHandler.h>
  
Public Member Functions | |
| virtual | ~ITouchActionHandler ()=default | 
| virtual void | OnTouchAbort () | 
| A touch action has been aborted.  More... | |
| virtual bool | OnSingleTouchStart (float x, float y) | 
| A single touch has started.  More... | |
| virtual bool | OnSingleTouchHold (float x, float y) | 
| A single touch has been held down for a certain amount of time.  More... | |
| virtual bool | OnSingleTouchMove (float x, float y, float offsetX, float offsetY, float velocityX, float velocityY) | 
| A single touch has moved.  More... | |
| virtual bool | OnSingleTouchEnd (float x, float y) | 
| A single touch has been lifted.  More... | |
| virtual bool | OnMultiTouchDown (float x, float y, int32_t pointer) | 
| An additional touch has been performed.  More... | |
| virtual bool | OnMultiTouchHold (float x, float y, int32_t pointers=2) | 
| Multiple simultaneous touches have been held down for a certain amount of time.  More... | |
| virtual bool | OnMultiTouchMove (float x, float y, float offsetX, float offsetY, float velocityX, float velocityY, int32_t pointer) | 
| A touch has moved.  More... | |
| virtual bool | OnMultiTouchUp (float x, float y, int32_t pointer) | 
| A touch has been lifted (but there are still active touches)  More... | |
| virtual bool | OnTouchGestureStart (float x, float y) | 
| A pan gesture with a single touch has been started.  More... | |
| virtual bool | OnTouchGesturePan (float x, float y, float offsetX, float offsetY, float velocityX, float velocityY) | 
| A pan gesture with a single touch is in progress.  More... | |
| virtual bool | OnTouchGestureEnd (float x, float y, float offsetX, float offsetY, float velocityX, float velocityY) | 
| A pan gesture with a single touch has ended.  More... | |
| virtual void | OnTap (float x, float y, int32_t pointers=1) | 
| A tap with a one or more touches has been performed.  More... | |
| virtual void | OnLongPress (float x, float y, int32_t pointers=1) | 
| One or more touches have been held down for a certain amount of time.  More... | |
| virtual void | OnSwipe (TouchMoveDirection direction, float xDown, float yDown, float xUp, float yUp, float velocityX, float velocityY, int32_t pointers=1) | 
| One or more touches has been moved quickly in a single direction in a short time.  More... | |
| virtual void | OnZoomPinch (float centerX, float centerY, float zoomFactor) | 
| Two simultaneous touches have been held down and moved to perform a zooming/pinching gesture.  More... | |
| virtual void | OnRotate (float centerX, float centerY, float angle) | 
| Two simultaneous touches have been held down and moved to perform a rotating gesture.  More... | |
Interface defining all supported touch action events.
      
  | 
  virtualdefault | 
      
  | 
  inlinevirtual | 
One or more touches have been held down for a certain amount of time.
| x | The x coordinate (with sub-pixel) of the touch | 
| y | The y coordinate (with sub-pixel) of the touch | 
| pointers | The number of pointers involved (default 1) | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
An additional touch has been performed.
| x | The x coordinate (with sub-pixel) of the touch | 
| y | The y coordinate (with sub-pixel) of the touch | 
| pointer | The pointer that has performed the touch | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
Multiple simultaneous touches have been held down for a certain amount of time.
| x | The x coordinate (with sub-pixel) of the touch | 
| y | The y coordinate (with sub-pixel) of the touch | 
| pointers | The number of pointers involved (default 2) | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
A touch has moved.
| x | The x coordinate (with sub-pixel) of the current touch | 
| y | The y coordinate (with sub-pixel) of the current touch | 
| offsetX | The covered distance on the x axis (with sub-pixel) | 
| offsetX | The covered distance on the y axis (with sub-pixel) | 
| velocityX | The velocity of the gesture in x direction (pixels/second) | 
| velocityX | The velocity of the gesture in y direction (pixels/second) | 
| pointer | The pointer that has performed the touch | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
A touch has been lifted (but there are still active touches)
| x | The x coordinate (with sub-pixel) of the touch | 
| y | The y coordinate (with sub-pixel) of the touch | 
| pointer | The pointer that has performed the touch | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
Two simultaneous touches have been held down and moved to perform a rotating gesture.
| centerX | The x coordinate (with sub-pixel) of the center of the two touches | 
| centerY | The y coordinate (with sub-pixel) of the center of the two touches | 
| angle | The clockwise angle in degrees of the rotation | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
A single touch has been lifted.
| x | The x coordinate (with sub-pixel) of the touch | 
| y | The y coordinate (with sub-pixel) of the touch | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
A single touch has been held down for a certain amount of time.
| x | The x coordinate (with sub-pixel) of the touch | 
| y | The y coordinate (with sub-pixel) of the touch | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
A single touch has moved.
| x | The x coordinate (with sub-pixel) of the current touch | 
| y | The y coordinate (with sub-pixel) of the current touch | 
| offsetX | The covered distance on the x axis (with sub-pixel) | 
| offsetX | The covered distance on the y axis (with sub-pixel) | 
| velocityX | The velocity of the gesture in x direction (pixels/second) | 
| velocityX | The velocity of the gesture in y direction (pixels/second) | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
A single touch has started.
| x | The x coordinate (with sub-pixel) of the touch | 
| y | The y coordinate (with sub-pixel) of the touch | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
One or more touches has been moved quickly in a single direction in a short time.
| direction | The direction (left, right, up, down) of the swipe gesture | 
| xDown | The x coordinate (with sub-pixel) of the first touch | 
| yDown | The y coordinate (with sub-pixel) of the first touch | 
| xUp | The x coordinate (with sub-pixel) of the last touch | 
| yUp | The y coordinate (with sub-pixel) of the last touch | 
| velocityX | The velocity of the gesture in x direction (pixels/second) | 
| velocityX | The velocity of the gesture in y direction (pixels/second) | 
| pointers | The number of pointers involved (default 1) | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
A tap with a one or more touches has been performed.
| x | The x coordinate (with sub-pixel) of the touch | 
| y | The y coordinate (with sub-pixel) of the touch | 
| pointers | The number of pointers involved (default 1) | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
A touch action has been aborted.
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
A pan gesture with a single touch has ended.
| x | The x coordinate (with sub-pixel) of the current touch | 
| y | The y coordinate (with sub-pixel) of the current touch | 
| offsetX | The covered distance on the x axis (with sub-pixel) | 
| offsetX | The covered distance on the y axis (with sub-pixel) | 
| velocityX | The velocity of the gesture in x direction (pixels/second) | 
| velocityX | The velocity of the gesture in y direction (pixels/second) | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
A pan gesture with a single touch is in progress.
| x | The x coordinate (with sub-pixel) of the current touch | 
| y | The y coordinate (with sub-pixel) of the current touch | 
| offsetX | The covered distance on the x axis (with sub-pixel) | 
| offsetX | The covered distance on the y axis (with sub-pixel) | 
| velocityX | The velocity of the gesture in x direction (pixels/second) | 
| velocityX | The velocity of the gesture in y direction (pixels/second) | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
A pan gesture with a single touch has been started.
| x | The x coordinate (with sub-pixel) of the initial touch | 
| y | The y coordinate (with sub-pixel) of the initial touch | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.
      
  | 
  inlinevirtual | 
Two simultaneous touches have been held down and moved to perform a zooming/pinching gesture.
| centerX | The x coordinate (with sub-pixel) of the center of the two touches | 
| centerY | The y coordinate (with sub-pixel) of the center of the two touches | 
| zoomFactor | The zoom (> 1.0) or pinch (< 1.0) factor of the two touches | 
Reimplemented in CGenericTouchActionHandler, and ITouchInputHandling.