InputConnectionWrapper.GetTextAfterCursor(Int32, GetTextFlags) Method
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.
Gets text after the selection from the target connection as a string.
public string? GetTextAfterCursor(int n, Android.Views.InputMethods.GetTextFlags flags);
member this.GetTextAfterCursor : int * Android.Views.InputMethods.GetTextFlags -> string
Parameters
- n
- Int32
The non-negative maximum number of characters to retrieve.
- flags
- GetTextFlags
The options passed to the target's character sequence retrieval method.
Returns
The target's retrieved text as a string, or null.
Remarks
This overload converts the target's character sequence result to a string without its span objects.
Java documentation for android.view.inputmethod.InputConnectionWrapper.getTextAfterCursor(int, int).
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.