How to use standard Web APIs such as Web Speech API?
- Dominant language
- ActionScript
- Stars
- 380
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
Can I use standard Web APIs such as Web Speech API?
If I can, how?
For example, how do I work with Web Speech events?
How can I use this from Apache Royale?
var synth = window.speechSynthesis;
var voices = [];
voices = synth.getVoices()
var utterThis = new SpeechSynthesisUtterance("hello-world");
utterThis.onend = function (event) {
console.log('SpeechSynthesisUtterance.onend');
}
utterThis.onerror = function (event) {
console.error('SpeechSynthesisUtterance.onerror');
}
utterThis.voice = voices[0];
synth.speak(utterThis);
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names Apache Royale and the Web Speech API but no source file or test. Start by checking the project's existing Web API interop guidance and the Web Speech API example in the issue. Done means documenting whether the API is supported, how to access it from Royale, and how its events are handled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation, web-dev
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100