common-ktx

//library/ss_n.common_ktx.extension/toSpeech

toSpeech

[androidJvm]
fun String.toSpeech(context: Context, utteranceProgressListener: UtteranceProgressListener? = null, pitchHeight: Float = 1.0f, pitchRate: Float = 1.0f): TextToSpeechManager.Error

Text To Speech

Return

Parameters

androidJvm

   
context Context
utteranceProgressListener UtteranceProgressListener
pitchHeight pitch height : default 1.0
pitchRate pitch rate : default 1.0