IndeRunCapacitorApi
The plugin contract plus the ergonomic Mode 2 entry point. stream() is not a
plugin method — it is startStream, the event listeners, and cancelStream
reassembled into the same shape the platform SDKs return from stream().
Extends
Section titled “Extends”Omit<IndeRunCapacitorPlugin,"checkCapabilities">
Methods
Section titled “Methods”addListener()
Section titled “addListener()”Call Signature
Section titled “Call Signature”addListener(
eventName,listenerFunc):Promise<PluginListenerHandle>
Parameters
Section titled “Parameters”eventName
Section titled “eventName”"indeRunStreamEvent"
listenerFunc
Section titled “listenerFunc”(notification) => void
Returns
Section titled “Returns”Promise<PluginListenerHandle>
Inherited from
Section titled “Inherited from”IndeRunCapacitorPlugin.addListener
Call Signature
Section titled “Call Signature”addListener(
eventName,listenerFunc):Promise<PluginListenerHandle>
Parameters
Section titled “Parameters”eventName
Section titled “eventName”"indeRunStreamError"
listenerFunc
Section titled “listenerFunc”(notification) => void
Returns
Section titled “Returns”Promise<PluginListenerHandle>
Inherited from
Section titled “Inherited from”IndeRunCapacitorPlugin.addListener
cancelStream()
Section titled “cancelStream()”cancelStream(
options):Promise<void>
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<void>
Inherited from
Section titled “Inherited from”IndeRunCapacitorPlugin.cancelStream
checkCapabilities()
Section titled “checkCapabilities()”checkCapabilities():
Promise<ProviderCapabilitySnapshot[]>
The plugin’s { providers } envelope, unwrapped to match the platform SDKs.
Returns
Section titled “Returns”Promise<ProviderCapabilitySnapshot[]>
configure()
Section titled “configure()”configure(
options?):Promise<void>
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<void>
Inherited from
Section titled “Inherited from”IndeRunCapacitorPlugin.configure
removeAllListeners()
Section titled “removeAllListeners()”removeAllListeners():
Promise<void>
Returns
Section titled “Returns”Promise<void>
Inherited from
Section titled “Inherited from”IndeRunCapacitorPlugin.removeAllListeners
run(
request):Promise<TaskResult>
Parameters
Section titled “Parameters”request
Section titled “request”Returns
Section titled “Returns”Promise<TaskResult>
Inherited from
Section titled “Inherited from”startStream()
Section titled “startStream()”startStream(
options):Promise<StreamRunHandle>
Unlike run(request), which passes the request at the options root, this nests it
under request so the envelope can also carry streamId. Both native decode sites
carry a matching comment.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<StreamRunHandle>
Inherited from
Section titled “Inherited from”IndeRunCapacitorPlugin.startStream
stream()
Section titled “stream()”stream(
request):Promise<StreamRun>
Parameters
Section titled “Parameters”request
Section titled “request”Returns
Section titled “Returns”Promise<StreamRun>
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