File

projects/ngx-speech-recognition/src/lib/speech-recognition.config.ts

Index

Properties

Properties

continuous
continuous: boolean
Type : boolean
Optional
grammars
grammars: SpeechGrammarList
Type : SpeechGrammarList
Optional
interimResults
interimResults: boolean
Type : boolean
Optional
lang
lang: string
Type : string
Optional
maxAlternatives
maxAlternatives: number
Type : number
Optional
onaudioend
onaudioend: function
Type : function
Optional
onaudiostart
onaudiostart: function
Type : function
Optional
onend
onend: function
Type : function
Optional
onerror
onerror: function
Type : function
Optional
onnomatch
onnomatch: function
Type : function
Optional
onresult
onresult: function
Type : function
Optional
onsoundend
onsoundend: function
Type : function
Optional
onsoundstart
onsoundstart: function
Type : function
Optional
onspeechend
onspeechend: function
Type : function
Optional
onspeechstart
onspeechstart: function
Type : function
Optional
onstart
onstart: function
Type : function
Optional
serviceURI
serviceURI: string
Type : string
Optional
export interface SpeechRecognitionConfig {
  grammars?: SpeechGrammarList;
  lang?: string;
  continuous?: boolean;
  interimResults?: boolean;
  maxAlternatives?: number;
  serviceURI?: string;
  onaudiostart?: (ev: Event) => any;
  onsoundstart?: (ev: Event) => any;
  onspeechstart?: (ev: Event) => any;
  onspeechend?: (ev: Event) => any;
  onsoundend?: (ev: Event) => any;
  onaudioend?: (ev: Event) => any;
  onresult?: (ev: SpeechRecognitionEvent) => any;
  onnomatch?: (ev: SpeechRecognitionEvent) => any;
  onerror?: (ev: SpeechRecognitionError) => any;
  onstart?: (ev: Event) => any;
  onend?: (ev: Event) => any;
}

result-matching ""

    No results matching ""