Udostępnij za pośrednictwem


RecognizerIntent.ExtraResults Field

Definition

An ArrayList<String> of the recognition results when performing #ACTION_RECOGNIZE_SPEECH.

[Android.Runtime.Register("EXTRA_RESULTS")]
public const string ExtraResults;
[<Android.Runtime.Register("EXTRA_RESULTS")>]
val mutable ExtraResults : string

Field Value

Attributes

Remarks

An ArrayList&lt;String&gt; of the recognition results when performing #ACTION_RECOGNIZE_SPEECH. Generally this list should be ordered in descending order of speech recognizer confidence. (See #EXTRA_CONFIDENCE_SCORES). Returned in the results; not to be specified in the recognition request. Only present when Activity#RESULT_OK is returned in an activity result. In a PendingIntent, the lack of this extra indicates failure.

Java documentation for android.speech.RecognizerIntent.EXTRA_RESULTS.

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.

Applies to