共用方式為


SynthesisRequest.Text Property

Definition

Caution

deprecated

Gets the text which should be synthesized.

[System.Obsolete("deprecated")]
public string? Text { [Android.Runtime.Register("getText", "()Ljava/lang/String;", "")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getText", "()Ljava/lang/String;", "")>]
member this.Text : string

Property Value

Attributes

Remarks

Gets the text which should be synthesized.

This member is deprecated. As of API level 21, replaced by #getCharSequenceText.

Java documentation for android.speech.tts.SynthesisRequest.getText().

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