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
    See more

    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
    See more

    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 { get set }
  • Undocumented

    Declaration

    Swift

    @objc
    public var level2String: String?
  • Action - See GestureAction

    Declaration

    Swift

    @objc
    public var action: GestureAction
  • Type of touch - See GestureEventType

    Declaration

    Swift

    @objc
    internal(set) public lazy var type: GestureEventType { get set }
  • 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?
  • 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()