Udostępnij za pośrednictwem


TextToSpeech.Engine.ActionGetSampleText Field

Definition

Activity intent for getting some sample text to use for demonstrating TTS.

[Android.Runtime.Register("ACTION_GET_SAMPLE_TEXT")]
public const string ActionGetSampleText;
[<Android.Runtime.Register("ACTION_GET_SAMPLE_TEXT")>]
val mutable ActionGetSampleText : string

Field Value

Attributes

Remarks

Activity intent for getting some sample text to use for demonstrating TTS. Specific locale have to be requested by passing following extra parameters: <ul> <li>language</li> <li>country</li> <li>variant</li> </ul>

Upon completion, the activity result may contain the following fields: <ul> <li>#EXTRA_SAMPLE_TEXT which contains an String with sample text.</li> </ul>

Java documentation for android.speech.tts.TextToSpeech.Engine.ACTION_GET_SAMPLE_TEXT.

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