Table of Contents

Class LongPressArgs

Arguments that define additional behavior for Long Press operations.

Inheritance
LongPressArgs
Namespace: HP.LFT.SDK.Mobile
Assembly: HP.LFT.SDK.dll
Syntax
public class LongPressArgs

Constructors

LongPressArgs()

Initializes 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).

Declaration
public LongPressArgs()

Properties

Duration

The number of seconds to continue pressing. (iOS Only)

Declaration
public double Duration { get; set; }
Property Value
Type Description
double

Gesture

The gesture class designed by the mobile application developer to handle this gesture on this object. (iOS Only)

Declaration
public string Gesture { get; set; }
Property Value
Type Description
string
Remarks

Needed only if the application developer overrode the default iOS gesture class.

Location

The Location to perform the long press.

Declaration
public Location Location { get; set; }
Property Value
Type Description
Location
Remarks

Needed only if the application developer overrode the default iOS gesture class. Default = center of the object

NumberOfTouchPoints

The number of points to press, similar to the number of fingers you would use for the gesture on a real device. (iOS Only)

Declaration
public int NumberOfTouchPoints { get; set; }
Property Value
Type Description
int
Remarks

Default = 1