obtain
fun obtain(surfaceId: Int, viewTag: Int, touchEventType: TouchEventType?, motionEventToCopy: MotionEvent?, gestureStartTime: Long, viewX: Float, viewY: Float, touchEventCoalescingKeyHelper: TouchEventCoalescingKeyHelper): TouchEvent
fun obtain(viewTag: Int, touchEventType: TouchEventType?, motionEventToCopy: MotionEvent?, gestureStartTime: Long, viewX: Float, viewY: Float, touchEventCoalescingKeyHelper: TouchEventCoalescingKeyHelper): TouchEvent
Deprecated
Please use the other overload of the obtain method, which explicitly provides surfaceId
Replace with
obtain(surfaceId, ...)
Content copied to clipboard