RecognizerIntent Class
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.
Constants for supporting speech recognition through starting an Intent
[Android.Runtime.Register("android/speech/RecognizerIntent", DoNotGenerateAcw=true)]
public class RecognizerIntent : Java.Lang.Object
[<Android.Runtime.Register("android/speech/RecognizerIntent", DoNotGenerateAcw=true)>]
type RecognizerIntent = class
inherit Object
- Inheritance
- Attributes
Remarks
Constants for supporting speech recognition through starting an Intent
Java documentation for android.speech.RecognizerIntent
.
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.
Constructors
RecognizerIntent(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Fields
ActionGetLanguageDetails |
A broadcast intent which can be fired to the |
ActionRecognizeSpeech |
Starts an activity that will prompt the user for speech and send it through a speech recognizer. |
ActionVoiceSearchHandsFree |
Starts an activity that will prompt the user for speech without requiring the user's visual attention or touch input. |
ActionWebSearch |
Starts an activity that will prompt the user for speech, send it through a speech recognizer, and either display a web search result or trigger another type of action based on the user's speech. |
DetailsMetaData |
Meta-data name under which an |
ExtraAudioInjectSource |
The extra key used in an intent which is providing an already opened audio source for the RecognitionService to use. |
ExtraAudioSource |
Optional |
ExtraAudioSourceChannelCount |
Optional integer, to be used with |
ExtraAudioSourceEncoding |
Optional integer (from |
ExtraAudioSourceSamplingRate |
Optional integer, to be used with |
ExtraBiasingStrings |
Optional list of strings, towards which the recognizer should bias the recognition results. |
ExtraCallingPackage |
The extra key used in an intent to the speech recognizer for voice search. |
ExtraConfidenceScores |
A float array of confidence scores of the recognition results when performing
|
ExtraEnableBiasingDeviceContext |
Optional boolean to enable biasing towards device context. |
ExtraEnableFormatting |
Optional string to enable text formatting (e. |
ExtraEnableLanguageDetection |
Optional boolean indicating whether to enable language detection. |
ExtraEnableLanguageSwitch |
Optional string to enable automatic switching to the language being spoken with the desired sensitivity level, instead of being restricted to a single language. |
ExtraHidePartialTrailingPunctuation |
Optional boolean, to be used with |
ExtraLanguage |
Optional IETF language tag (as defined by BCP 47), for example "en-US". |
ExtraLanguageDetectionAllowedLanguages |
Optional list of IETF language tags (as defined by BCP 47, e. |
ExtraLanguageModel |
Informs the recognizer which speech model to prefer when performing
|
ExtraLanguagePreference |
The key to the extra in the |
ExtraLanguageSwitchAllowedLanguages |
Optional list of IETF language tags (as defined by BCP 47, e. |
ExtraMaskOffensiveWords |
Optional boolean indicating whether the recognizer should mask the offensive words in recognition results. |
ExtraMaxResults |
Optional limit on the maximum number of results to return. |
ExtraOnlyReturnLanguagePreference |
Specify this boolean extra in a broadcast of |
ExtraOrigin |
Optional value which can be used to indicate the referer url of a page in which speech was requested. |
ExtraPartialResults |
Optional boolean to indicate whether partial results should be returned by the recognizer as the user speaks (default is false). |
ExtraPreferOffline |
Optional boolean, to be used with |
ExtraPrompt |
Optional text prompt to show to the user when asking them to speak. |
ExtraRequestWordConfidence |
Optional boolean indicating whether the recognizer should return the confidence level of each word in the final recognition results. |
ExtraRequestWordTiming |
Optional boolean indicating whether the recognizer should return the timestamp of each word in the final recognition results. |
ExtraResults |
An ArrayList<String> of the recognition results when performing
|
ExtraResultsPendingintent |
When the intent is |
ExtraResultsPendingintentBundle |
If you use |
ExtraSecure |
Optional boolean to indicate that a "hands free" voice search was performed while the device was in a secure mode. |
ExtraSegmentedSession |
Optional string to enable segmented session mode of the specified type, which can be
|
ExtraSpeechInputCompleteSilenceLengthMillis |
The amount of time that it should take after the recognizer stops hearing speech to consider the input complete hence end the recognition session. |
ExtraSpeechInputMinimumLengthMillis |
Optional integer to indicate the minimum length of the recognition session. |
ExtraSpeechInputPossiblyCompleteSilenceLengthMillis |
The amount of time that it should take after we stop hearing speech to consider the input possibly complete. |
ExtraSupportedLanguages |
The key to the extra in the |
ExtraWebSearchOnly |
Optional boolean, to be used with |
FormattingOptimizeLatency |
Optimizes formatting latency. |
FormattingOptimizeQuality |
Optimizes formatting quality. |
LanguageModelFreeForm |
Use a language model based on free-form speech recognition. |
LanguageModelWebSearch |
Use a language model based on web search terms. |
LanguageSwitchBalanced |
A value to use for |
LanguageSwitchHighPrecision |
A value to use for |
LanguageSwitchQuickResponse |
A value to use for |
Properties
Class |
Returns the runtime class of this |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
PeerReference | (Inherited from Object) |
ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Methods
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
GetVoiceDetailsIntent(Context) |
Returns the broadcast intent to fire with
|
JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
UnregisterFromRuntime() | (Inherited from Object) |
Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Explicit Interface Implementations
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |