PrepareOptions
Options for prepare. Everything is optional.
Extends
Section titled “Extends”Indexable
Section titled “Indexable”[
property:string]:unknown
Properties
Section titled “Properties”allowDownload?
Section titled “allowDownload?”
optionalallowDownload?:boolean
Lets this call start a platform’s own download, whatever autoDownload says at registration. Call it from a user’s decision. Absent follows autoDownload.
Inherited from
Section titled “Inherited from”PrepareRequest.allowDownload
locale?
Section titled “locale?”
optionallocale?:string
BCP 47 tag of the language to prepare. Absent lets a speech provider use the device’s own language.
Inherited from
Section titled “Inherited from”PrepareRequest.locale
localeMatch?
Section titled “localeMatch?”
optionallocaleMatch?:LocaleMatch
How locale compares: ‘language’ (default) or ‘exact’.
Inherited from
Section titled “Inherited from”PrepareRequest.localeMatch
onProgress?
Section titled “onProgress?”
optionalonProgress?: (progress) =>void
Called as an item advances, with a fraction from 0 to 1 when the platform has one.
Parameters
Section titled “Parameters”progress
Section titled “progress”fractionCompleted?
Section titled “fractionCompleted?”number
providerId
Section titled “providerId”string
string
Returns
Section titled “Returns”void
privacy?
Section titled “privacy?”
optionalprivacy?:Privacy
The privacy policy of the runs this precedes.
Inherited from
Section titled “Inherited from”PrepareRequest.privacy
requestId?
Section titled “requestId?”
optionalrequestId?:string
Fixes the run id, for correlation.
Inherited from
Section titled “Inherited from”PrepareRequest.requestId
tasks?
Section titled “tasks?”
optionaltasks?:string[]
Task kinds to prepare. Absent means every task a registered provider can prepare.
Inherited from
Section titled “Inherited from”PrepareRequest.tasks
voice?
Section titled “voice?”
optionalvoice?:PrepareVoice
A voice to prepare, as for a speech request.
Inherited from
Section titled “Inherited from”PrepareRequest.voice
IndeRun — open-source AI execution for cross-platform apps. Built and maintained by Independo GmbH (opens in new tab), supported by netidee (opens in new tab).
MIT-licensed SDK · No SDK usage telemetry.
© 2025–2026 Independo GmbH