RecognitionPart.Builder.SetFormattedText(String) Method
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.
The formatted text version of the recognized part of the result.
[Android.Runtime.Register("setFormattedText", "(Ljava/lang/String;)Landroid/speech/RecognitionPart$Builder;", "", ApiSince=34)]
public Android.Speech.RecognitionPart.Builder SetFormattedText(string value);
[<Android.Runtime.Register("setFormattedText", "(Ljava/lang/String;)Landroid/speech/RecognitionPart$Builder;", "", ApiSince=34)>]
member this.SetFormattedText : string -> Android.Speech.RecognitionPart.Builder
Parameters
- value
- String
Returns
- Attributes
Remarks
The formatted text version of the recognized part of the result. If formatting is enabled with RecognizerIntent.EXTRA_ENABLE_FORMATTING, it has a non-null value.
Otherwise, it should be null by default.
Android reference for android.speech.RecognitionPart.Builder.setFormattedText.
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.