Last active
October 30, 2020 15:56
-
-
Save yektasarioglu/3afe0d05b48029e418933efe9c50ebaa to your computer and use it in GitHub Desktop.
initializeEngine() and initializeCallback()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun initializeEngine() { | |
ttsEngine = MLTtsEngine(ttsConfig) | |
} | |
private fun initializeCallback() { | |
ttsCallback = object : MLTtsCallback { // Whole MLTtsCallback implementation } | |
ttsEngine.setTtsCallback(ttsCallback) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment