Class PanZoomController.InputResultDetail

Object
org.mozilla.geckoview.PanZoomController.InputResultDetail
Enclosing class:
PanZoomController

public static class PanZoomController.InputResultDetail extends Object
Represents how a MotionEvent was handled in Gecko. This value can be used by browser apps to implement features like pull-to-refresh. Failing to account this value might break some websites expectations about touch events.

For example, a handledResult() value of PanZoomController.INPUT_RESULT_HANDLED and overscrollDirections() of PanZoomController.OVERSCROLL_FLAG_NONE indicates that the event was consumed for a panning or zooming operation and that the website does not expect the browser to react to the touch event (say, by triggering the pull-to-refresh feature) even though the scroll container reached to the edge.