Gesture
public class Gesture : BusinessObject
Wrapper class for gesture tracking
-
Enum with differents event type
- unknown: unknown
- tap: tap
- swipe: swipe
- scroll: scroll
- pinch: pinch
- pan: pan
- rotate: rotate
- refresh: refresh
Declaration
Swift
@objc public enum GestureEventType : Int -
Gesture actions
- touch: simple gesture
- navigate: navigation gesture
- download: download action
- exit: exit action
- search: internal search action
Declaration
Swift
@objc public enum GestureAction : Int -
Touch name
Declaration
Swift
@objc public var name: String -
First chapter
Declaration
Swift
@objc public var chapter1: String? -
Second chapter
Declaration
Swift
@objc public var chapter2: String? -
Third chapter
Declaration
Swift
@objc public var chapter3: String? -
Level 2
Declaration
Swift
@objc public var level2: Int -
Action - See GestureAction
Declaration
Swift
@objc public var action: Gesture.GestureAction -
Type of touch - See GestureEventType
Declaration
Swift
@objc internal(set) public lazy var type: GestureEventType { get set } -
Screen information on which the gesture has been done
Declaration
Swift
@objc internal(set) public weak var screen: Screen? -
Custom objects to add to gesture hit
Declaration
Swift
@objc public lazy var customObjects: CustomObjects { get set } -
Internal Search
Declaration
Swift
@objc public var internalSearch: InternalSearch? -
Undocumented
Declaration
Swift
@objc internal(set) public weak var view: View? -
Send navigation gesture event If the gesture is generated by AutoTracking, do not call this function in the gestureWasDetected delegate, otherwise, the gesture will be sent twice.
Declaration
Swift
@objc public func sendNavigation() -
Send exit gesture event If the gesture is generated by AutoTracking, do not call this function in the gestureWasDetected delegate, otherwise, the gesture will be sent twice.
Declaration
Swift
@objc public func sendExit() -
Send download gesture event If the gesture is generated by AutoTracking, do not call this function in the gestureWasDetected delegate, otherwise, the gesture will be sent twice.
Declaration
Swift
@objc public func sendDownload() -
Send touch gesture event If the gesture is generated by AutoTracking, do not call this function in the gestureWasDetected delegate, otherwise, the gesture will be sent twice.
Declaration
Swift
@objc public func sendTouch() -
Send search gesture event If the gesture is generated by AutoTracking, do not call this function in the gestureWasDetected delegate, otherwise, the gesture will be sent twice.
Declaration
Swift
@objc public func sendSearch()
Gesture Class Reference