Language

InputConnectionWrapper.SetComposingRegion メソッド

定義

オーバーロード

Name 説明
SetComposingRegion(Int32, Int32)

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

SetComposingRegion(Int32, Int32, TextAttribute)

InputConnection.setComposingRegion(int,int) のバリアント。

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

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

戻り値

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

実装

属性

注釈

テキストの特定の領域を作成テキストとしてマークします。 作成領域があった場合、文字はそのまま残り、finishComposingText() が呼び出されたかのように、作成スパンは削除されます。 テキストを作成するための既定のスタイルが使用されます。

Javaドキュメント。

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

適用対象

SetComposingRegion(Int32, Int32, TextAttribute)

InputConnection.setComposingRegion(int,int) のバリアント。

[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

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

戻り値

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

実装

属性

注釈

InputConnection.setComposingRegion(int,int) のバリアント。 このメソッドは、IME がテキストの設定中に追加情報を提供できるようにするために使用されます。

Javaドキュメント。

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

適用対象