Android.Resource.Attribute.VoiceSearchMode Field
Voice search features are controlled by mode bits in this field.

Value: 16843346

Syntax

[Android.Runtime.Register("voiceSearchMode")]
public const int VoiceSearchMode

Remarks

Voice search features are controlled by mode bits in this field. Omitting this field, or setting to zero, provides default behavior. If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must also be set. Optional attribute.
ConstantValueDescription
showVoiceSearchButton0x01 If set, display a voice search button. This only takes effect if voice search is available on the device.
launchWebSearch0x02 If set, the voice search button will take the user directly to a built-in voice web search activity. Most applications will not use this flag, as it will take the user away from the activity in which search was invoked.
launchRecognizer0x04 If set, the voice search button will take the user directly to a built-in voice recording activity. This activity will prompt the user to speak, transcribe the spoken text, and forward the resulting query text to the searchable activity, just as if the user had typed it into the search UI and clicked the search button.

Must be one or more (separated by '|') of the following constant values.

[Android Documentation]

Requirements

Namespace: Android
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3