TextSnapshot(SurroundingText, Int32, Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of 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
Parameters
- surroundingText
- SurroundingText
SurroundingText
of the current edit field.
- compositionStart
- Int32
The start index of the composing text.
-1
if there is no composing text.
- compositionEnd
- Int32
The end index of the composing text.
-1
if there is no composing text.
- cursorCapsMode
- Int32
The capitalization mode of the first character being edited in the
text. See EditorInfo#initialCapsMode
.
- Attributes
Remarks
Creates a new instance of TextSnapshot
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.