RecognizerResultsIntent.ExtraVoiceSearchResultHttpHeaders Field

Definition

The key to an extra ArrayList of Bundles that contains key/value pairs.

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

Field Value

Attributes

Remarks

The key to an extra ArrayList of Bundles that contains key/value pairs. All the values and the keys are Strings. Each key/value pair represents an extra HTTP header. The keys can't be the standard HTTP headers as they are set by the WebView.

A list of size 1 may be provided to apply the same HTTP headers to all web results. A list of the same size as #EXTRA_VOICE_SEARCH_RESULT_STRINGS may be provided to apply different HTTP headers to each different web result in the list. These headers will only be used in the case that the url for a particular web result (from #EXTRA_VOICE_SEARCH_RESULT_URLS) is loaded.

Java documentation for android.speech.RecognizerResultsIntent.EXTRA_VOICE_SEARCH_RESULT_HTTP_HEADERS.

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