Unable to locate the done key of Keypad via Appium driver

I have to enter the data inside the text fields and then press the done button on the android native keypad so that it navigates to the second step…

Following is what i have tried:

WebElement Enter_Vin =driver.findElement(By.id(“com.app.main:id/enter_vin_text”));
Enter_Vin.sendKeys(“12345678901238”);
Enter_Vin.click();
driver.sendKeyEvent(66,16); /// This is not working

is there any way to do?

For Ruby I have: driver.press_keycode 66

I think in java is thins:
https://github.com/appium/java-client/blob/master/src/main/java/io/appium/java_client/android/AndroidKeyCode.java