InputMethodService.GetTextForImeActionFormatted(ImeAction) Method

Definition

Return text that can be used as a button label for the given EditorInfo#imeOptions EditorInfo.imeOptions.

[Android.Runtime.Register("getTextForImeAction", "(I)Ljava/lang/CharSequence;", "GetGetTextForImeAction_IHandler")]
public virtual Java.Lang.ICharSequence? GetTextForImeActionFormatted (Android.Views.InputMethods.ImeAction imeOptions);
[<Android.Runtime.Register("getTextForImeAction", "(I)Ljava/lang/CharSequence;", "GetGetTextForImeAction_IHandler")>]
abstract member GetTextForImeActionFormatted : Android.Views.InputMethods.ImeAction -> Java.Lang.ICharSequence
override this.GetTextForImeActionFormatted : Android.Views.InputMethods.ImeAction -> Java.Lang.ICharSequence

Parameters

imeOptions
ImeAction

The value from EditorInfo#imeOptions EditorInfo.imeOptions.

Returns

ICharSequence

Returns a label to use, or null if there is no action.

Attributes

Remarks

Java documentation for android.inputmethodservice.InputMethodService.getTextForImeAction(int).

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