ezSTT is a native extension that provides voice recognition to mobile applications on iOS and Android. The extension primarily relies on online services provided by Google and Apple to perform the recognition process, which requires a connection to the internet. If the ANE is used offline, the appropriate language packs must be installed in the system (there is no way to do this programmatically).On both systems, this ANE

On iOS and Android, the extension supports the following languages: English, French, Italian, Spanish, Deutsch, Chinese, Japanese, Russian, Korean, Portuguese, Czech, Dutch, Polish, Swedish, Turkish. Those are the exact same languages provided in AIR 24 runtime.

Sample

import com.fabricemontfort.air.ezstt.STTEvent;
import com.fabricemontfort.air.ezstt.languages;
 
var stt:ezSTT = ezSTT.instance();
 
public function onAuth(event:STTEvent):void
{
    trace (event.message);
 
    if (stt.isAuthorized()) {
        stt.removeEventListener(STTEvent.AUTH, onAuth);
        stt.addEventListener(STTEvent.FINAL, onFinal);
        stt.setLanguage(languages.FR);
        stt.start();
    }
}
 
public function onFinal(event:STTEvent):void {
    // Best result from Google / Apple
    stt.removeEventListener(STTEvent.FINAL, onFinal);
    trace (event.message);
}
 
if (stt.isSupported()) {
    if (stt.isAuthorized()) {
        stt.debug = true;
 
        stt.addEventListener(STTEvent.FINAL, onFinal);
        stt.setLanguage(languages.FR);
        stt.start();
    } else {
        stt.addEventListener(STTEvent.AUTH, onAuth);
        stt.askUserAuthorization();
    }
}
Air Native Extension, Android, iOS . URL.