Sprache

ImeFlags Enum

Definition

Enumerates values returned by several types.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ImeFlags
[<System.Flags>]
type ImeFlags = 
Inheritance
ImeFlags
Attributes

Fields

Name Value Description
ForceAscii -2147483648

Flag of ImeOptions: used to request that the IME is capable of inputting ASCII characters.

NoPersonalizedLearning 16777216

Flag of imeOptions: used to request that the IME should not update any personalized data such as typing history and personalized language model based on what the user typed on this text editing object. Typical use cases are: When the application is in a special mode, where user's activities are expected to be not recorded in the application's history. Some web browsers and chat applications may have this kind of modes; When storing typing history does not make much sense. Specifying this flag in typing games may help to avoid typing history from being filled up with words that the user is less likely to type in their daily life. Another example is that when the application already knows that the expected input is not a valid word (e.g. a promotion code that is not a valid word in any natural language).

Applications need to be aware that the flag is not a guarantee, and some IMEs may not respect it.

Android reference for android.view.inputmethod.EditorInfo.IME_FLAG_NO_PERSONALIZED_LEARNING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

NoFullscreen 33554432

Flag of ImeOptions: used to request that the IME never go into fullscreen mode.

NavigatePrevious 67108864

Flag of imeOptions: like IME_FLAG_NAVIGATE_NEXT, but specifies there is something interesting that a backward navigation can focus on. If the user selects the IME's facility to backward navigate, this will show up in the application as an IME_ACTION_PREVIOUS at InputConnection.performEditorAction(int).

Android reference for android.view.inputmethod.EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

NavigateNext 134217728

Flag of ImeOptions: used to specify that there is something interesting that a forward navigation can focus on.

NoExtractUi 268435456

Flag of ImeOptions: used to specify that the IME does not need to show its extracted text UI.

NoAccessoryAction 536870912

Flag of imeOptions: used in conjunction with one of the actions masked by IME_MASK_ACTION, this indicates that the action should not be available as an accessory button on the right of the extracted text when the input method is full-screen. Note that by setting this flag, there can be cases where the action is simply never available to the user. Setting this generally means that you think that in fullscreen mode, where there is little space to show the text, it's not worth taking some screen real estate to display the action and it should be used instead to show more text.

Android reference for android.view.inputmethod.EditorInfo.IME_FLAG_NO_ACCESSORY_ACTION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

NoEnterAction 1073741824

Flag of imeOptions: used in conjunction with one of the actions masked by IME_MASK_ACTION. If this flag is not set, IMEs will normally replace the "enter" key with the action supplied. This flag indicates that the action should not be available in-line as a replacement for the "enter" key. Typically this is because the action has such a significant impact or is not recoverable enough that accidentally hitting it should be avoided, such as sending a message. Note that TextView will automatically set this flag for you on multi-line text views.

Android reference for android.view.inputmethod.EditorInfo.IME_FLAG_NO_ENTER_ACTION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to