Android.Views.InputMethods.InputMethodManager.UpdateSelection Method
Report the current selection range.

Syntax

[Android.Runtime.Register("updateSelection", "(Landroid/view/View;IIII)V", "")]
public void UpdateSelection (Android.Views.View view, int selStart, int selEnd, int candidatesStart, int candidatesEnd)

Parameters

view
Documentation for this section has not yet been entered.
selStart
Documentation for this section has not yet been entered.
selEnd
Documentation for this section has not yet been entered.
candidatesStart
Documentation for this section has not yet been entered.
candidatesEnd
Documentation for this section has not yet been entered.

Remarks

Report the current selection range.

Editor authors, you need to call this method whenever the cursor moves in your editor. Remember that in addition to doing this, your editor needs to always supply current cursor values in EditorInfo.InitialSelStart and EditorInfo.InitialSelEnd every time Android.Views.View.OnCreateInputConnection(EditorInfo) is called, which happens whenever the keyboard shows up or the focus changes to a text field, among other cases.

[Android Documentation]

Requirements

Namespace: Android.Views.InputMethods
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3