Class Manager

Definition

Namespace:
Tizen.Uix.InputMethodManager
Assembly:
Tizen.Uix.InputMethodManager.dll
API Level:
3

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.

C#
Copy
public static class Manager
Inheritance
Manager

Methods

View Source

GetActiveIME()

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

Declaration
C#
Copy
public static string GetActiveIME()
Returns
Type Description
System.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.

API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/imemanager
View Source

GetEnabledIMECount()

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

Declaration
C#
Copy
public static int GetEnabledIMECount()
Returns
Type Description
System.Int32

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.

API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/imemanager
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
C#
Copy
public static bool IsIMEEnabled(string appId)
Parameters
Type Name Description
System.String appId

The application ID of the IME.

Returns
Type Description
System.Boolean

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.

API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/imemanager
View Source

PrelaunchIME()

Requests to pre-launch the IME. The developers can use this function to launch the IME in on-demand mode.

Declaration
C#
Copy
public static void PrelaunchIME()
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.

API Level: 5
Privilege Level: public
Privilege: http://tizen.org/privilege/imemanager
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
C#
Copy
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.

API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/imemanager
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
C#
Copy
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.

API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/imemanager