UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
LongPressArgs Class
Arguments that define additional behavior for Long Press operations.
Syntax
public class LongPressArgs 
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.Mobile.LongPressArgs

Public Constructors
 NameDescription
Public ConstructorLongPressArgs ConstructorInitializes a new instance of the LongPressArgs class with default arguments (perform one long press at the center of the object, at one touch point, for the default long press duration).  
Top
Public Properties
 NameDescription
Public PropertyDurationThe number of seconds to continue pressing. (iOS Only)  
Public PropertyGestureThe gesture class designed by the mobile application developer to handle this gesture on this object. (iOS Only)  
Public PropertyLocationThe Location to perform the long press.  
Public PropertyNumberOfTouchPointsThe number of points to press, similar to the number of fingers you would use for the gesture on a real device. (iOS Only)  
Top