[ English | 简体中文 ]
Feature Framework API
The Feature framework is the Native extension development framework for openvela QuickApp, providing interoperability between JS and C/C++. Developers can extend new system capabilities for QuickApps through the Feature framework, which handles parameter conversion, lifecycle management, asynchronous programming models, and automatic interface generation (JIDL).
Framework Overview
- Feature Framework Overview — Architecture, concept model (Module / Prototype / Instance), JIDL interface description language
Core Data Types
- Type Definitions — Basic type aliases, handle types, enumerations, structures
Runtime Interfaces
- Context and Data Conversion —
ft_value_tcreation/destruction, type conversion, array/object operations - Feature Export Interface — Full runtime API for Feature developers (memory, callbacks, Promise, events, Worker, JSON)
- Framework Management Interface — APIs for QuickApp framework implementors to create and configure the Feature manager
Frontend Interoperability
- QuickJS Interoperability —
ft_value_tandJSValueconversion (QuickJS frontend only)
Debugging and Performance
- Trace Instrumentation — Built-in sched_note performance tracing macros for the Feature framework