Crate ohos_ime

Crate ohos_ime 

Source
Expand description

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()

Structs§

AttachOptions
CreateImeProxyError
CreateTextEditorProxyError
ImeProxy
RawTextEditorProxy
TextConfig
TextConfigBuilder
TextSelection

Enums§

CreateTextEditorProxyErrorKind
KeyboardStatus
KeyboardVisibility

Traits§

Ime
User implementation of required Inputmethod functionality