---
title: "SpeechRecognitionEvent | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs-qmgv.pages.dev/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Variable SpeechRecognitionEvent

SpeechRecognitionEvent: {  
    prototype: [SpeechRecognitionEvent](https://docs-qmgv.pages.dev/sdk-js/api-reference/interfaces/Externals.SpeechRecognitionEvent/);  
    new (  
        type: string,  
        eventInitDict: [SpeechRecognitionEventInit](https://docs-qmgv.pages.dev/sdk-js/api-reference/interfaces/Externals.SpeechRecognitionEventInit/),  
    ): [SpeechRecognitionEvent](https://docs-qmgv.pages.dev/sdk-js/api-reference/interfaces/Externals.SpeechRecognitionEvent/);  
}

#### Type Declaration

-   -   new (  
            type: string,  
            eventInitDict: [SpeechRecognitionEventInit](https://docs-qmgv.pages.dev/sdk-js/api-reference/interfaces/Externals.SpeechRecognitionEventInit/),  
        ): [SpeechRecognitionEvent](https://docs-qmgv.pages.dev/sdk-js/api-reference/interfaces/Externals.SpeechRecognitionEvent/)
    -   #### Parameters
        
        -   type: string
        -   eventInitDict: [SpeechRecognitionEventInit](https://docs-qmgv.pages.dev/sdk-js/api-reference/interfaces/Externals.SpeechRecognitionEventInit/)
        
        #### Returns [SpeechRecognitionEvent](https://docs-qmgv.pages.dev/sdk-js/api-reference/interfaces/Externals.SpeechRecognitionEvent/)
        
-   ##### prototype: [SpeechRecognitionEvent](https://docs-qmgv.pages.dev/sdk-js/api-reference/interfaces/Externals.SpeechRecognitionEvent/)
