Click or drag to resize
SoLongTapGestureRecognizer Class

Long tap gesture recognizer.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.Gestures.RecognizersSoGestureRecognizer
      OIV.Inventor.Gestures.RecognizersSoLongTapGestureRecognizer

Namespace: OIV.Inventor.Gestures.Recognizers
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoLongTapGestureRecognizer : SoGestureRecognizer

The SoLongTapGestureRecognizer type exposes the following members.

Constructors
  NameDescription
Public methodSoLongTapGestureRecognizer

Constructor.

Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetMinimumLongTapDuration

Gets the minimum duration of a long tap.

Public methodGetSpatialRestriction

Gets the radius of the limitation circle in which the finger has to stay throughout the gesture.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRecognize

If the specified touch event completes a recognized gesture, returns an OIV.Inventor.Gestures.Events.SoGestureEvent, else returns null.

(Inherited from SoGestureRecognizer.)
Public methodSetMinimumLongTapDuration

Sets the minimum duration of a long tap.

Public methodSetSpatialRestriction

Sets the radius of the limitation circle in which the finger has to stay throughout the gesture.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

OIV.Inventor.Gestures.Recognizers.SoLongTapGestureRecognizer analyses touch events and recognizes a one finger long-tap (touch-and-hold) gesture. It returns an OIV.Inventor.Gestures.Events.SoLongTapGestureEvent with the long tap duration if this gesture is recognized. The finger has to stay in a limitation area from the down event to the up event and must stay down for a minimum period of time. This recognizer only generates an END event.

Note:

See Also