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 の新しいインスタンスを作成します

android.view.inputmethod.TextSnapshot.TextSnapshot(android.view.inputmethod.SurroundingText, int, int, int)Java ドキュメント。

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

適用対象