目录

About This Kit

IME Kit is responsible for establishing a communication channel between the application in which the text input box is located and the input method application, to ensure that the two work together to provide text input, and also enables system applications to manage the input method application.

When to Use

IME Kit provides two types of APIs: input method framework APIs and input method service APIs. With these APIs, you can develop and manage an input method and implement a custom text input box.

Working Principles

Features

Available Capabilities

Relationship with Other Kits

ArkUI: With respect to soft keyboards and custom text input boxes, IME Kit can use some components, events, animations, and state management capabilities provided by ArkUI, for example, the <Text> and <Button> components and the onClick event.

Constraints

For the system API for switching between input method applications, the system permission is required. Some APIs can be called only by the current input method application.

Emulator Support

This kit is supported on the Emulator.

There are some general differences between the Emulator and real devices. For details, please refer to Differences Between the Emulator and the Real Device.

API Reference