public void swipe ( PointF startPoint1 , PointF startPoint2 , PointF endPoint1 , PointF endPoint2 ) { if ( config . commandLogging ) { Log . d ( config . commandLoggingTag , "swipe(" + startPoint1 + ", " + startPoint2 + ", " + endPoint1 + ", " + endPoint2 + ")" ) ; } if ( android . os . Build . VERSION . SDK_INT < 14 ) { throw new RuntimeException ( "swipe() requires API level >= 14" ) ; } swiper . generateSwipeGesture ( startPoint1 , startPoint2 , endPoint1 , endPoint2 ) ; }
Swipes with two fingers in a linear path determined by starting and ending points . Requires API level > = 14 .