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.api-13
— Enables bindings for OpenHarmony API-level 13.api-14
— Enables bindings for OpenHarmony API-level 14.drawing
— Enables bindings for Functions that interact with thedrawing
moduledocument-features
— Document available features when building the documentation
Modules§
- drag_
and_ drop api-12
- drawable_
descriptor api-12
- native_
animate api-12
- native_
dialog api-12
- native_
gesture api-12
- native_
interface api-12
- native_
interface_ accessibility api-13
- native_
key_ event api-14
- native_
node api-12
- native_
node_ napi api-12
- native_
type api-12
- styled_
string api-12
- ui_
input_ event api-12