Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add OnAnyUtterance listener. Useful for when you just want the user t…

…o say something to continue
  • Loading branch information...
commit 2b9cf5a7961771708e0dd73f6fc3b36e892af811 1 parent 262e6bb
@gmilette gmilette authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 library/src/root/gast/speech/voiceaction/VoiceAlertDialog.java
View
5 library/src/root/gast/speech/voiceaction/VoiceAlertDialog.java
@@ -142,4 +142,9 @@ private void add(OnUnderstoodListener listener, int matchType,
}
add(new MatcherCommand(matcher, listener));
}
+
+ public void addOnAnyUtterance(OnUnderstoodListener listener)
+ {
+ add(new MatchAnythingCommand(listener));
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.