#ui-component #ui #open-harmony #harmony-os #ark-ui

arkui-sys

Bindings to the native ArkUI API of OpenHarmony

1 unstable release

0.1.0 Dec 4, 2024

#843 in Rust patterns

Download history 100/week @ 2024-11-29 30/week @ 2024-12-06

130 downloads per month
Used in arkui

Apache-2.0

790KB
6K SLoC

ArkUI native bindings for OpenHarmony

Raw bindings to native ArkUI APIs on OpenHarmony.

Development

This crate is developed as part of the ohos-sys bindings.

License

This crate is licensed under the Apache-2.0 license, matching the OpenHarmony OS SDK.


lib.rs:

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

Dependencies