Skip to content

Commit 2bfd6c8

Browse files
committed
chore: update readme
1 parent 80e8e1e commit 2bfd6c8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,13 @@ ExpoSpeechRecognitionModule.start({
291291
// Default: 50ms for network-based recognition, 15ms for on-device recognition
292292
chunkDelayMillis: undefined,
293293
},
294+
// Settings for volume change events.
295+
volumeChangeEventOptions: {
296+
// [Default: false] Whether to emit the `volumechange` events when the input volume changes.
297+
enabled: false,
298+
// [Default: 100ms on iOS] The interval (in milliseconds) to emit `volumechange` events.
299+
intervalMillis: 300,
300+
},
294301
});
295302

296303
// Stop capturing audio (and emit a final result if there is one)

0 commit comments

Comments
 (0)