Skip to main content

Signature

Building an AudioInput

Dart factory constructors:
There is no AudioInput.file on Flutter, unlike Swift, Kotlin, and React Native. Read the file yourself and pass the bytes.

With options

See STT options.

Checking readiness

Permission

Recording needs the microphone permission at runtime on both platforms. Request it before calling into the SDK; a denied permission surfaces as a SDKException.