言語

TextSnapshot(SurroundingText, Int32, Int32, Int32) コンストラクター

定義

の新しいインスタンスを作成します。 TextSnapshot

[Android.Runtime.Register(".ctor", "(Landroid/view/inputmethod/SurroundingText;III)V", "", ApiSince=33)]
public TextSnapshot(Android.Views.InputMethods.SurroundingText surroundingText, int compositionStart, int compositionEnd, int cursorCapsMode);
[<Android.Runtime.Register(".ctor", "(Landroid/view/inputmethod/SurroundingText;III)V", "", ApiSince=33)>]
new Android.Views.InputMethods.TextSnapshot : Android.Views.InputMethods.SurroundingText * int * int * int -> Android.Views.InputMethods.TextSnapshot

パラメーター

surroundingText
SurroundingText

SurroundingText 現在の編集フィールドの

compositionStart
Int32

作成中のテキストの開始インデックス。 -1 作成テキストがない場合は〘。

compositionEnd
Int32

作成中のテキストの終了インデックス。 -1 作成テキストがない場合は〘。

cursorCapsMode
Int32

テキストで編集する最初の文字の大文字と小文字の設定モード。 EditorInfo#initialCapsModeを参照してください。

属性

注釈

の新しいインスタンスを作成します。 TextSnapshot

Javaドキュメント。

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

適用対象