Expand description
ArkUI Native
A module to interact with ArkUI from native Rust code. It provides:
- drag and drop APIs of ArkUI
- APIs of ArkUI to register gesture callbacks.
- animation callbacks of ArkUI
- UI capabilities such as UI component creation and destruction, tree node operations, attribute setting, and event listening.
See the official upstream documentation on ArkUI Native for more information.
§Feature flags
§OpenHarmony API level
The arkUI native module was added in API-level 12.
Defaults to no bindings at all, to maintain feature composability in ohos-sys.
Optionally enable one of the api-* features to get access to bindings for newer
OpenHarmony versions.
api-12— Enables bindings for OpenHarmony API-level 12.document-features— Document available features when building the documentation
Modules§
- native_
gesture api-12 - native_
type api-12 - ui_
input_ event api-12