Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 818ace5f authored by Sergey Volnov's avatar Sergey Volnov
Browse files

Add a comment mentioning that errors might be unbundled, to improve

backwards compatibility story.

Bug: 183427999
Test: N/A, comment change.
Change-Id: I1f583fe31c9edccada510f9a0ab2e333cc62df08
parent 43dfe44a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -62,7 +62,8 @@ public interface RecognitionListener {
    /**
     * A network or recognition error occurred.
     * 
     * @param error code is defined in {@link SpeechRecognizer}
     * @param error code is defined in {@link SpeechRecognizer}. Implementations need to handle any
     *              integer error constant to be passed here beyond constants prefixed with ERROR_.
     */
    void onError(@SpeechRecognizer.RecognitionError int error);