RecognizerIntent.DetailsMetaData Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Meta-data name under which an Activity implementing #ACTION_WEB_SEARCH can
use to expose the class name of a BroadcastReceiver which can respond to request for
more information, from any of the broadcast intents specified in this class.
[Android.Runtime.Register("DETAILS_META_DATA")]
public const string DetailsMetaData;
[<Android.Runtime.Register("DETAILS_META_DATA")>]
val mutable DetailsMetaData : string
Field Value
- Attributes
Remarks
Meta-data name under which an Activity implementing #ACTION_WEB_SEARCH can use to expose the class name of a BroadcastReceiver which can respond to request for more information, from any of the broadcast intents specified in this class.
Broadcast intents can be directed to the class name specified in the meta-data by creating an Intent, setting the component with Intent#setComponent(android.content.ComponentName), and using Context#sendOrderedBroadcast(Intent, String, BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle) with another BroadcastReceiver which can receive the results.
The #getVoiceDetailsIntent(Context) method is provided as a convenience to create a broadcast intent based on the value of this meta-data, if available.
This is optional and not all Activitys which implement #ACTION_WEB_SEARCH are required to implement this. Thus retrieving this meta-data may be null.
Java documentation for android.speech.RecognizerIntent.DETAILS_META_DATA.
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.