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

# Interface SpeechRecognitionEventInit

interface SpeechRecognitionEventInit {  
    [bubbles](#bubbles)?: boolean;  
    [cancelable](#cancelable)?: boolean;  
    [composed](#composed)?: boolean;  
    [resultIndex](#resultindex)?: number;  
    [results](#results): [SpeechRecognitionResultList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SpeechRecognitionResultList/);  
}

#### Hierarchy ([View Summary](https://docs.maptiler.com/sdk-js/api-reference/hierarchy/#Externals.SpeechRecognitionEventInit))

-   [EventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/)
    -   SpeechRecognitionEventInit

##### Index

### Properties[](#properties)

[bubbles?](#bubbles) [cancelable?](#cancelable) [composed?](#composed) [resultIndex?](#resultindex) [results](#results)

## Properties[](#properties-1)

### `Optional`bubbles[](#bubbles)

bubbles?: boolean

Inherited from [EventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/).[bubbles](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/#bubbles)

### `Optional`cancelable[](#cancelable)

cancelable?: boolean

Inherited from [EventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/).[cancelable](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/#cancelable)

### `Optional`composed[](#composed)

composed?: boolean

Inherited from [EventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/).[composed](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/#composed)

### `Optional`resultIndex[](#resultindex)

resultIndex?: number

### results[](#results)

results: [SpeechRecognitionResultList](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SpeechRecognitionResultList/)
