Share via


RecognizerIntent.ExtraEnableFormatting Field

Definition

Optional string to enable text formatting (e.

[Android.Runtime.Register("EXTRA_ENABLE_FORMATTING", ApiSince=33)]
public const string ExtraEnableFormatting;
[<Android.Runtime.Register("EXTRA_ENABLE_FORMATTING", ApiSince=33)>]
val mutable ExtraEnableFormatting : string

Field Value

Attributes

Remarks

Optional string to enable text formatting (e.g. unspoken punctuation (examples: question mark, comma, period, etc.), capitalization, etc.) and specify the optimization strategy. If set, the partial and final result texts will be formatted. Each result list will contain two hypotheses in the order of 1) formatted text 2) raw text.

Depending on the recognizer implementation, this value may have no effect.

Java documentation for android.speech.RecognizerIntent.EXTRA_ENABLE_FORMATTING.

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