Skip to content

IndeRunCapacitorPlugin

addListener(eventName, listenerFunc): Promise<PluginListenerHandle>

"indeRunStreamEvent"

(notification) => void

Promise<PluginListenerHandle>

addListener(eventName, listenerFunc): Promise<PluginListenerHandle>

"indeRunStreamError"

(notification) => void

Promise<PluginListenerHandle>


cancelStream(options): Promise<void>

CancelStreamOptions

Promise<void>


checkCapabilities(): Promise<CheckCapabilitiesResult>

Live snapshot of every registered provider, without executing a task. Availability changes between calls — a local model can unload, cloud credentials can expire — so do not cache it across a run() or stream().

Promise<CheckCapabilitiesResult>


configure(options?): Promise<void>

ConfigureOptions

Promise<void>


removeAllListeners(): Promise<void>

Promise<void>


run(request): Promise<TaskResult>

TaskRequest

Promise<TaskResult>


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.

StartStreamOptions

Promise<StreamRunHandle>