SurroundingText

Class of android.view.inputmethod · SurroundingText.java · Android's reference

public final class SurroundingText

Text around the cursor.

Constructors

public SurroundingText(CharSequence text, int selectionStart, int selectionEnd, int offset) source

Methods

public CharSequence getText() source
public int getSelectionStart() source
public int getSelectionEnd() source
public int getOffset() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.