Swipe Navigation Gesture Progress Engine Event Data
class SwipeNavigationGestureProgressEngineEventData(val objectType: EngineEventDataObjectType = EngineEventDataObjectType.SWIPE_NAVIGATION_GESTURE_PROGRESS_ENGINE_EVENT, val type: EngineEventDataType, val animationProgress: Double, val deltaX: Double, val deltaY: Double, val pendingNavigationAction: NavigationAction, val relativeDeltaClientX: Double, val relativeDeltaClientY: Double, val relativeDeltaScreenX: Double, val relativeDeltaScreenY: Double) : ReaderViewEngineEventData
Engine event type used for "swipeNavigationGestureProgress" events.
Constructors
Link copied to clipboard
constructor(objectType: EngineEventDataObjectType = EngineEventDataObjectType.SWIPE_NAVIGATION_GESTURE_PROGRESS_ENGINE_EVENT, type: EngineEventDataType, animationProgress: Double, deltaX: Double, deltaY: Double, pendingNavigationAction: NavigationAction, relativeDeltaClientX: Double, relativeDeltaClientY: Double, relativeDeltaScreenX: Double, relativeDeltaScreenY: Double)
Properties
Link copied to clipboard
A value between -1, 0 indicates an animation progress from the current page to the previous page. A value between 0, 1 indicating an animation progress from the current page to the next page.
Link copied to clipboard
The type of engine event object this JSON structure represents.
Link copied to clipboard
The type of navigation action that will occur on "pointerup".
Link copied to clipboard
The total X movement relative to the window width. Typically a number between 0 and 1.
Link copied to clipboard
The total Y movement relative to the window height. Typically a number between 0 and 1.
Link copied to clipboard
The total X movement relative to the screen width. Typically a number between 0 and 1.
Link copied to clipboard
The total Y movement relative to the screen height. Typically a number between 0 and 1.
Link copied to clipboard
The type of event.