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
Checking readiness
Permission
Recording needs the microphone permission at runtime on both platforms. Request it before calling into the SDK; a denied permission surfaces asmicrophonePermissionDenied.