Tiempo de vencimiento de OTP Android

new CountDownTimer(90000, 1000) {
 public void onTick(long millisUntilFinished) {
     Log.d("seconds remaining: " , millisUntilFinished / 1000);
 }

 public void onFinish() {
     // Called after timer finishes
 }
}.start();
Santino