Udostępnij za pośrednictwem


RecognizerResultsIntent.ExtraVoiceSearchResultUrls Field

Definition

The key to an extra ArrayList of Strings that contains the search urls to use, if available, for the recognition alternates provided in #EXTRA_VOICE_SEARCH_RESULT_STRINGS.

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

Field Value

Attributes

Remarks

The key to an extra ArrayList of Strings that contains the search urls to use, if available, for the recognition alternates provided in #EXTRA_VOICE_SEARCH_RESULT_STRINGS. This list should always be the same size as the one provided in #EXTRA_VOICE_SEARCH_RESULT_STRINGS - if a result cannot provide a search url, that entry in this ArrayList should be null, and the implementor of #ACTION_VOICE_SEARCH_RESULTS should execute a search of its own choosing, based on the recognition result string.

Java documentation for android.speech.RecognizerResultsIntent.EXTRA_VOICE_SEARCH_RESULT_URLS.

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