TTS check finish speak

sagt3k

Member
Licensed User
Longtime User
Request a small example to test when he finished speaking TTS

Hi Erel
Can You post a little example concerning to capture the event "TextToSpeech Finish" from PhoneEvents (Phone library) ?
Thanks
 
Upvote 0

brelto85

Active Member
Licensed User
Longtime User
B4X:
Sub Activity_Create(FirstTime As Boolean)
   ....
   if FirstTime then
      mPhoneEvents.InitializeWithPhoneState("PE", mPhoneId)
   End if
   ....
End Sub


B4X:
Sub PE_TextToSpeechFinish (Intent As Intent)
    ...
End Sub
 
Upvote 0
Top