| 
    Tizen Native API
    5.0
    
   
   | 
  
  
  
 
A LongPressGesture is emitted when the user touches and holds the screen with the stated number of fingers. More...
  
 Public Member Functions | |
| LongPressGesture (Gesture::State state) | |
| Constructor.   | |
| LongPressGesture (const LongPressGesture &rhs) | |
| Copy constructor.   | |
| LongPressGesture & | operator= (const LongPressGesture &rhs) | 
| Assignment operator.   | |
| virtual | ~LongPressGesture () | 
| Virtual destructor.   | |
Public Attributes | |
| uint32_t | numberOfTouches | 
| The number of touch points in this long press gesture, i.e. the number of fingers the user had on the screen to generate the long press gesture.  | |
| Vector2 | screenPoint | 
| This is the point, in screen coordinates, where the long press occurred.   | |
| Vector2 | localPoint | 
| This is the point, in local actor coordinates, where the long press occurred.   | |
Detailed Description
A LongPressGesture is emitted when the user touches and holds the screen with the stated number of fingers.
This gesture can be in one of two states, when the long-press gesture is first detected: Gesture::Started and when the long-press gesture ends: Gesture::Finished.
Long press gesture finishes when all touches have been released.
- Since:
 - 3.0, DALi version 1.0.0
 
- See also:
 - LongPressGestureDetector
 
Constructor & Destructor Documentation
Constructor.
- Since:
 - 3.0, DALi version 1.0.0
 
- Parameters:
 - 
  
[in] state The state of the gesture  
| Dali::LongPressGesture::LongPressGesture | ( | const LongPressGesture & | rhs | ) | 
Copy constructor.
- Since:
 - 3.0, DALi version 1.0.0
 
- Parameters:
 - 
  
[in] rhs A reference to the copied handle  
| virtual Dali::LongPressGesture::~LongPressGesture | ( | ) |  [virtual] | 
        
Virtual destructor.
- Since:
 - 3.0, DALi version 1.0.0
 
Member Function Documentation
| LongPressGesture& Dali::LongPressGesture::operator= | ( | const LongPressGesture & | rhs | ) | 
Assignment operator.
- Since:
 - 3.0, DALi version 1.0.0
 
- Parameters:
 - 
  
[in] rhs A reference to the copied handle  
- Returns:
 - A reference to this
 
Member Data Documentation
This is the point, in local actor coordinates, where the long press occurred.
If a multi-touch long press, then this is the centroid of all the touch points.
- Returns:
 - The point where tap has occurred (in local actor coordinates)
 
This is the point, in screen coordinates, where the long press occurred.
If a multi-touch long press, then this is the centroid of all the touch points.