Skip to main content

Signature

Building an AudioInput

The constructors are exported as AudioInputs, plural, unlike every other SDK where the name is singular. Copied examples will not resolve.
AudioInputs.file is the common path: point it at a recording on disk.

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 microphonePermissionDenied.