Android.Speech.RecognizerIntent.GetVoiceDetailsIntent Method
Returns the broadcast intent to fire with Android.Content.Context.SendOrderedBroadcast(Android.Content.Intent, System.String, System.String, System.String, System.String, System.String, System.String) to receive details from the package that implements voice search.

Syntax

[Android.Runtime.Register("getVoiceDetailsIntent", "(Landroid/content/Context;)Landroid/content/Intent;", "")]
public static Android.Content.Intent GetVoiceDetailsIntent (Android.Content.Context context)

Parameters

context
a context object

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the broadcast intent to fire with Android.Content.Context.SendOrderedBroadcast(Android.Content.Intent, System.String, System.String, System.String, System.String, System.String, System.String) to receive details from the package that implements voice search.

This is based on the value specified by the voice search Android.App.Activity in RecognizerIntent.DetailsMetaData, and if this is not specified, will return null. Also if there is no chosen default to resolve for RecognizerIntent.ActionWebSearch, this will return null.

If an intent is returned and is fired, a Android.OS.Bundle of extras will be returned to the provided result receiver, and should ideally contain values for RecognizerIntent.ExtraLanguagePreference and RecognizerIntent.ExtraSupportedLanguages.

(Whether these are actually provided is up to the particular implementation. It is recommended that Android.App.Activitys implementing RecognizerIntent.ActionWebSearch provide this information, but it is not required.)

[Android Documentation]

Requirements

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