API
The Switchboard SDK exposes the same core API across every supported language: initialize the SDK, create an engine from a JSON description, then drive it at runtime with callAction, setValue, getValue, and event listeners.
Pick the language you're working in for the call-by-call reference:
- C++ — the native implementation; every other language wraps this.
- Kotlin / Java — JVM wrapper for Android and server-side use.
- Swift / Objective-C — Apple-platform wrapper for iOS, macOS, tvOS, visionOS.
- JavaScript — web wrapper (WebAssembly under the hood).
Other reference material:
- JSON Schemas — the schemas Switchboard objects and their type descriptors conform to.
- Extension API Reference — for authoring your own extensions and node types.