Class Manager

    Definition

    Namespace:
    Tizen.Uix.InputMethodManager
    Assembly:
    Tizen.Uix.InputMethodManager.dll

    This class provides the function for launching the input method editor (IME) list and selector settings. A user can manage the installed IMEs in the system. The input method editor (IME) is an input panel that lets users provide an input and the platform to receive the text data entered. The manager is a module for managing the installed IMEs. IME developers can use this module to open the installed IME list or the selector menu after their IME installation, and then guide to select the installed IME.

    public static class Manager
    Inheritance
    object
    Manager

    Methods

    View Source

    GetActiveIME()

    Checks which IME is the current activated (selected) IME.

    Declaration
    public static string GetActiveIME()
    Returns
    Type Description
    string

    The current activated (selected) IME.

    Exceptions
    Type Condition
    System.InvalidOperationException

    This exception can occur if:

    1. The application does not have the privilege to call this function.
    2. Operation failed.
    View Source

    GetEnabledIMECount()

    Gets the number of IMEs that are enabled (usable).

    Declaration
    public static int GetEnabledIMECount()
    Returns
    Type Description
    int

    The number of enabled IMEs.

    Exceptions
    Type Condition
    System.InvalidOperationException

    This exception can occur if:

    1. The application does not have the privilege to call this function.
    2. Operation failed.
    View Source

    IsIMEEnabled(string)

    Checks if the specific IME is enabled or disabled in the system keyboard setting. The IME developers can use this property to check if their IME is enabled or not.

    Declaration
    public static bool IsIMEEnabled(string appId)
    Parameters
    Type Name Description
    string appId

    The application ID of the IME.

    Returns
    Type Description
    bool

    The On (enabled) and Off (disabled) state of the IME.

    Exceptions
    Type Condition
    System.ArgumentException

    This exception can occur if an invalid parameter is provided.

    System.InvalidOperationException

    This exception can occur if:

    1. The application does not have the privilege to call this function.
    2. Operation failed.
    View Source

    ShowIMEList()

    Requests to open the installed IME list menu. This API provides the installed IME list menu for IME developers who might want to open it to enable their IME.

    Declaration
    public static void ShowIMEList()
    Exceptions
    Type Condition
    System.InvalidOperationException

    This exception can occur if:

    1. The application does not have the privilege to call this function.
    2. Operation failed.
    View Source

    ShowIMESelector()

    Requests to open the IME selector menu. This API provides the IME selector menu for the IME or other application developers who might want to change the default IME.

    Declaration
    public static void ShowIMESelector()
    Exceptions
    Type Condition
    System.InvalidOperationException

    This exception can occur if:

    1. The application does not have the privilege to call this function.
    2. Operation failed.
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX