diff options
-rw-r--r-- | core/java/android/speech/hotword/HotwordRecognitionService.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/java/android/speech/hotword/HotwordRecognitionService.java b/core/java/android/speech/hotword/HotwordRecognitionService.java index c70bdab..7a26e0c 100644 --- a/core/java/android/speech/hotword/HotwordRecognitionService.java +++ b/core/java/android/speech/hotword/HotwordRecognitionService.java @@ -227,7 +227,7 @@ public abstract class HotwordRecognitionService extends Service { /** * Called on an event of interest to the client. * - * @param eventType the event type. Event types are defined in {@link HotwordRecognizer}. + * @param eventType the event type. * @param eventBundle a Bundle containing the hotword event(s). */ public void onHotwordEvent(int eventType, Bundle eventBundle) throws RemoteException { @@ -237,7 +237,7 @@ public abstract class HotwordRecognitionService extends Service { /** * Called back when hotword is detected. * - * @param intent for the activity to launch, post hotword detection. + * @param activityIntent for the activity to launch, post hotword detection. */ public void onHotwordRecognized(Intent activityIntent) throws RemoteException { mListener.onHotwordRecognized(activityIntent); @@ -247,7 +247,6 @@ public abstract class HotwordRecognitionService extends Service { * Called when the HotwordRecognitionService encounters an error. * * @param errorCode the error code describing the error that was encountered. - * Error codes are defined in {@link HotwordRecognizer}. */ public void onError(int errorCode) throws RemoteException { mListener.onHotwordError(errorCode); |