InputMethodService.GetTextForImeActionFormatted(ImeAction) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した 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
パラメーター
- imeOptions
- ImeAction
EditorInfo#imeOptions EditorInfo.imeOptionsからの値。
返品
使用するラベルを返します。アクションがない場合は null を返します。
- 属性
注釈
指定した EditorInfo#imeOptions EditorInfo.imeOptionsのボタン ラベルとして使用できるテキストを返します。 アクションが要求されていない場合は null を返します。 返されるテキストが比較的短くなる保証はないため、ソフト キーボードのキー ラベルのテキストとして使用したくない場合があります。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。