Language

InputConnectionWrapper.SetComposingRegion メソッド

定義

オーバーロード

Name 説明
SetComposingRegion(Int32, Int32)

テキストの特定の領域を作成テキストとしてマークします。

SetComposingRegion(Int32, Int32, TextAttribute)

領域を作成テキストとしてマークし、オプションのテキスト メタデータを提供します。

SetComposingRegion(Int32, Int32)

テキストの特定の領域を作成テキストとしてマークします。

[Android.Runtime.Register("setComposingRegion", "(II)Z", "GetSetComposingRegion_IIHandler")]
public virtual bool SetComposingRegion(int start, int end);
[<Android.Runtime.Register("setComposingRegion", "(II)Z", "GetSetComposingRegion_IIHandler")>]
abstract member SetComposingRegion : int * int -> bool
override this.SetComposingRegion : int * int -> bool

パラメーター

start
Int32

作成領域が開始されるテキスト内の位置

end
Int32

作成領域が終了するテキスト内の位置

戻り値

ターゲット接続によって返される値。

実装

属性

注釈

エディターは、文字を変更せずに以前の作成スパンを削除し、新しい領域に既定のスタイルを使用する必要があります。 フォールバック モードの BaseInputConnection は、バッファー内のテキストをキー イベントとして送信し、バッファーをクリアできます。

Javaドキュメント。

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

適用対象

SetComposingRegion(Int32, Int32, TextAttribute)

領域を作成テキストとしてマークし、オプションのテキスト メタデータを提供します。

[Android.Runtime.Register("setComposingRegion", "(IILandroid/view/inputmethod/TextAttribute;)Z", "GetSetComposingRegion_IILandroid_view_inputmethod_TextAttribute_Handler", ApiSince=33)]
public virtual bool SetComposingRegion(int start, int end, Android.Views.InputMethods.TextAttribute? textAttribute);
[<Android.Runtime.Register("setComposingRegion", "(IILandroid/view/inputmethod/TextAttribute;)Z", "GetSetComposingRegion_IILandroid_view_inputmethod_TextAttribute_Handler", ApiSince=33)>]
abstract member SetComposingRegion : int * int * Android.Views.InputMethods.TextAttribute -> bool
override this.SetComposingRegion : int * int * Android.Views.InputMethods.TextAttribute -> bool

パラメーター

start
Int32

作成領域が開始されるテキスト内の位置

end
Int32

作成領域が終了するテキスト内の位置

textAttribute
TextAttribute

ターゲット接続に渡される省略可能なテキスト メタデータ。

戻り値

ターゲット接続によって返される値。

実装

属性

注釈

ターゲットはメタデータを無視できます。 既定の Android インターフェイス実装では、2 つの引数のオーバーロードが呼び出されます。

Javaドキュメント。

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

適用対象