ohos-window-manager-binding
Safe Rust wrappers for OpenHarmony's native window manager API.
cargo add ohos-window-manager-binding --features api-15
Create a borrowed window handle from the ID exposed by ArkTS window properties, then query or update it:
use Window;
let window = from_id;
let properties = window.properties?;
println!;
# Ok::
APIs introduced after API 15 are enabled by the matching api-* feature.
License
MIT OR Apache-2.0