Crate arkui_sys

Source
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 the drawing module
  • document-features — Document available features when building the documentation

Modules§

drag_and_dropapi-12
drawable_descriptorapi-12
native_animateapi-12
native_dialogapi-12
native_gestureapi-12
native_interfaceapi-12
native_interface_accessibilityapi-13
native_key_eventapi-14
native_nodeapi-12
native_node_napiapi-12
native_typeapi-12
styled_stringapi-12
ui_input_eventapi-12