mcbopomofoweb
    Preparing search index...

    Interface InputUI

    A interface to let the input method module to talk to an input method framework or a specific UI framework.

    interface InputUI {
        commitString(text: string): void;
        reset(): void;
        update(state: string): void;
    }
    Index

    Methods

    • Called when the input method module wants to insert text into the current application..

      Parameters

      • text: string

      Returns void

    • Called when the input method module wants to reset the composing buffer and the candidate window.

      Returns void

    • Called when the input method module wants to update the composing buffer and the candidate window.

      Parameters

      • state: string

        The JSON encoded string of the UI state including the composing buffer and the candidate window. See also InputUIState.

      Returns void