androidAlwaysUseStop property

SpeechConfigOption androidAlwaysUseStop
final

on Android SDK 29 the recognizer stop method did not work properly so the plugin destroys the recognizer instead. If this causes problems this option overrides that behaviour and forces the plugin to use the stop command instead, even on SDK 29.

Implementation

static final SpeechConfigOption androidAlwaysUseStop =
    SpeechConfigOption('android', 'alwaysUseStop', true);