is anyway to use web speech api for web browser us...
# multiplatform
a
is anyway to use web speech api for web browser using kotlin guys? I want to have speech to text function
b
Anything you can use from JS you can also use from Kotlin.js
a
I know this, but web speech api is not a npm packages, it ties with chrome browser
b
Doesn't matter, just declare that global API surface via kotlin externals and you're good to go.
a
thanks, could you give me a github example or an aricle
b
https://dev.to/mpetuska/js-in-kotlinjs-c4g "Declaring global js api" section
❤️ 1