Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SpeechRecognition

Hierarchy

Index

Properties

EventTarget

EventTarget: { constructor: any; prototype: EventTarget }

Type declaration

continuous

continuous: boolean

grammars

interimResults

interimResults: boolean

lang

lang: string

maxAlternatives

maxAlternatives: number

onaudioend

onaudioend: ((this: SpeechRecognition, ev: Event) => any) | null

onaudiostart

onaudiostart: ((this: SpeechRecognition, ev: Event) => any) | null

onend

onend: ((this: SpeechRecognition, ev: Event) => any) | null

onerror

onerror: ((this: SpeechRecognition, ev: ErrorEvent) => any) | null

onnomatch

onnomatch: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null

onresult

onresult: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null

onsoundend

onsoundend: ((this: SpeechRecognition, ev: Event) => any) | null

onsoundstart

onsoundstart: ((this: SpeechRecognition, ev: Event) => any) | null

onspeechend

onspeechend: ((this: SpeechRecognition, ev: Event) => any) | null

onspeechstart

onspeechstart: ((this: SpeechRecognition, ev: Event) => any) | null

onstart

onstart: ((this: SpeechRecognition, ev: Event) => any) | null

Methods

abort

  • abort(): void
  • Returns void

addEventListener

dispatchEvent

  • dispatchEvent(event: Event): boolean
  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    Returns boolean

removeEventListener

start

  • start(): void
  • Returns void

stop

  • stop(): void
  • Returns void

Generated using TypeDoc