#open-harmony #ime #input-method #harmony-os

ohos-ime

Bindings to the inputmethod API of OpenHarmony

1 unstable release

0.1.0 Oct 28, 2024

#7 in #ime

Download history 128/week @ 2024-10-28

128 downloads per month

Apache-2.0

21KB
445 lines

OpenHarmony Input method (IME) bindings

Safe Rust bindings to access the Input method on OpenHarmony devices. See the documentation for more details

License

This project is licensed under the Apache-2.0 license.


lib.rs:

Safe abstractions to use IME (inputmethods) from Rust on OpenHarmony

This crate provides an ImeProxy, which allows interacting with the Input method on OpenHarmony devices. The user needs to implement the [Ime] trait

This crate is still under active development and based on the InputMethod C-API of OpenHarmony.

Usage

  1. Implement the Ime trait
  2. call ImeProxy::new()

Dependencies

~170KB