RecognitionService.Callback.PartialResults(Bundle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The service should call this method when partial recognition results are available.
[Android.Runtime.Register("partialResults", "(Landroid/os/Bundle;)V", "GetPartialResults_Landroid_os_Bundle_Handler")]
public virtual void PartialResults (Android.OS.Bundle? partialResults);
[<Android.Runtime.Register("partialResults", "(Landroid/os/Bundle;)V", "GetPartialResults_Landroid_os_Bundle_Handler")>]
abstract member PartialResults : Android.OS.Bundle -> unit
override this.PartialResults : Android.OS.Bundle -> unit
Parameters
- partialResults
- Bundle
the returned results. To retrieve the results in
ArrayList<String> format use Bundle#getStringArrayList(String)
with
SpeechRecognizer#RESULTS_RECOGNITION
as a parameter
- Attributes
Exceptions
Remarks
The service should call this method when partial recognition results are available. This method can be called at any time between #beginningOfSpeech()
and #results(Bundle)
when partial results are ready. This method may be called zero, one or multiple times for each call to SpeechRecognizer#startListening(Intent)
, depending on the speech recognition service implementation.
Java documentation for android.speech.RecognitionService.Callback.partialResults(android.os.Bundle)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.