You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Adapted from https://github.com/fcitx5-android/fcitx5-android/blob/364afb44dcf0d9e3db3d43a21a32601b2190cbdf/app/src/main/java/org/fcitx/fcitx5/android/core/FcitxLifecycle.kt
* To use rime, client should call [createSession] to obtain a [RimeSession],
24
+
* and call [destroySession] on client destroyed. Client should not leak the instance of [RimeApi],
25
+
* and must use [RimeSession] to access rime functionalities.
26
+
*
27
+
* The instance of [Rime] always exists,but whether the dispatcher runs and callback works depend on clients, i.e.
28
+
* if no clients are connected, [Rime.finalize] will be called.
29
+
*
30
+
* Functions are thread-safe in this class.
31
+
*
32
+
* Adapted from [fcitx5-android/FcitxDaemon.kt](https://github.com/fcitx5-android/fcitx5-android/blob/364afb44dcf0d9e3db3d43a21a32601b2190cbdf/app/src/main/java/org/fcitx/fcitx5/android/daemon/FcitxDaemon.kt)
0 commit comments