class AXStandBy(pause: Int) {
private val tg: TimeGate = TimeGate(pause)
init {
tg.openGate()
}
fun standBy(ear: String): Boolean {
// only returns true after pause minutes of no input
if (ear.isNotEmpty()) {
// restart count...
public class AXStandBy {
private final TimeGate tg;
public AXStandBy(int pause) {
this.tg = new TimeGate(pause);
this.tg.openGate();
}
public boolean standBy(String ear) {
// only returns true after pause minutes of no input
if (ear.length() > 0)...