Table of Contents

Class LongPressArgs

Namespace
HP.LFT.SDK.Mobile
Assembly
HP.LFT.SDK.dll

Arguments that define additional behavior for Long Press operations.

public class LongPressArgs
Inheritance
LongPressArgs
Inherited Members

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

public LongPressArgs()

Properties

Duration

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

public double Duration { get; set; }

Property Value

double

Gesture

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

public string Gesture { get; set; }

Property Value

string

Remarks

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

Location

The Location to perform the long press.

public Location Location { get; set; }

Property Value

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)

public int NumberOfTouchPoints { get; set; }

Property Value

int

Remarks

Default = 1