API Reference
Ink exposes APIs for both the native host (Rust/Android) and the JavaScript runtime.
Native Integration
- Rust API: For initializing and controlling the engine from Rust.
- Android API: For integrating Ink into Android apps.
JavaScript API (rokid)
The rokid global object provides access to system features.
- rokid.network: Network requests.
- rokid.system: System information.
- rokid.ui: UI interaction.
- rokid.speech: Speech recognition and synthesis.