Language

InputMethodService.GetTextForImeAction(ImeAction) メソッド

定義

指定した EditorInfo#imeOptions EditorInfo.imeOptionsのボタン ラベルとして使用できるテキストを返します。

public string? GetTextForImeAction(Android.Views.InputMethods.ImeAction imeOptions);
member this.GetTextForImeAction : Android.Views.InputMethods.ImeAction -> string

パラメーター

imeOptions
ImeAction

EditorInfo#imeOptions EditorInfo.imeOptionsからの値。

返品

使用するラベルを返します。アクションがない場合は null を返します。

注釈

指定した EditorInfo#imeOptions EditorInfo.imeOptionsのボタン ラベルとして使用できるテキストを返します。 アクションが要求されていない場合は null を返します。 返されるテキストが比較的短くなる保証はないため、ソフト キーボードのキー ラベルのテキストとして使用したくない場合があります。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象