PointerEventHelper

Class responsible for generating catalyst touch events based on android MotionEvent.

Types

Link copied to clipboard

Properties

Link copied to clipboard
const val CLICK: String
Link copied to clipboard
Link copied to clipboard
const val POINTER_DOWN: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val POINTER_MOVE: String
Link copied to clipboard
const val POINTER_OUT: String
Link copied to clipboard
const val POINTER_OVER: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val POINTER_UP: String

Functions

Link copied to clipboard
fun getButtonChange(pointerType: String, lastButtonState: Int, currentButtonState: Int): Int
Link copied to clipboard
fun getButtons(eventName: String?, pointerType: String, buttonState: Int): Int
Link copied to clipboard
fun getEventCategory(pointerEventType: String?): Int
Link copied to clipboard
fun getPressure(buttonState: Int, eventName: String?): Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun isExitEvent(eventName: String?): Boolean
Link copied to clipboard
Link copied to clipboard
fun supportsHover(motionEvent: MotionEvent): Boolean