Crate ohos_ime_sys

Source
Available on crate feature api-12 only.
Expand description

Bindings to the native inputmethod API

This can be used to interact with the inputmethod on OpenHarmony from native code. Available with API-level 12 and newer

Official documentation: https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/_input_method-V5

§Feature flags

§OpenHarmony API level

The inputmethod API 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 (No changes)
  • api-14 — Enables bindings for OpenHarmony API-level 13 (No changes)
  • document-features — Document available features when building the documentation

Modules§

attach_options
controller
cursor_info
inputmethod_proxy
private_command
text_avoid_info
text_config
text_editor_proxy
types