Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- startListening() {
- this.speechRecognition.startListening()
- .subscribe(
- (matches: Array<string>) => {
- console.log(matches)
- },
- (onerror) => {
- console.log('error:', onerror)
- }
- )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement