Appium - DoubleTap on Element in Appium

public static void performDoubleTapAction(WebElement elementToTap) {

AndroidDriverManager.getDriver().tap(1, elementToTap, 1);
AndroidDriverManager.getDriver().tap(1, elementToTap, 1);
}